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

## DataGrid.focusRowIndex property

The index of the row that will receive focus the next time the grid is focused. This value changes as focus moves to different rows within the grid. Changing this value when focus is already within the grid moves focus to the specified row.

<b>Signature:</b>

```typescript
focusRowIndex: number;
```