---
id: fast-foundation.datagrid.generatecolumns
title: DataGrid.generateColumns property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [DataGrid](./fast-foundation.datagrid.md) &gt; [generateColumns](./fast-foundation.datagrid.generatecolumns.md)

## DataGrid.generateColumns property

generates a basic column definition by examining sample row data

<b>Signature:</b>

```typescript
static generateColumns: (row: object) => ColumnDefinition[];
```