---
id: fast-foundation.datagrid.generateheader
title: DataGrid.generateHeader 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; [generateHeader](./fast-foundation.datagrid.generateheader.md)

## DataGrid.generateHeader property

Whether the grid should automatically generate a header row and its type

<b>Signature:</b>

```typescript
generateHeader: GenerateHeaderOptions;
```

## Remarks

HTML Attribute: generate-header
