---
id: fast-foundation.datagridtemplate
title: dataGridTemplate variable
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [dataGridTemplate](./fast-foundation.datagridtemplate.md)

## dataGridTemplate variable

Generates a template for the [DataGrid](./fast-foundation.datagrid.md) component using the provided prefix.

<b>Signature:</b>

```typescript
dataGridTemplate: FoundationElementTemplate<ViewTemplate<DataGrid>>
```