Skip to main content
All docs
V24.2

ASPxClientGridViewBatchEditApi.SetFocusedCell(rowVisibleIndex, columnIndex) Method

Focuses the specified cell.

#Declaration

TypeScript
SetFocusedCell(
    rowVisibleIndex: number,
    columnIndex: number
): void

#Parameters

Name Type Description
rowVisibleIndex number

The visible index of the row.

columnIndex number

The index of the column.

#Remarks

Use the SetFocusedCell, SetFocusedCellByKey(key, columnIndex), and GetFocusedCell methods to control the cell focus on the client side.

<dx:ASPxGridView ID="GridView" ClientInstanceName="clientGrid" ...>
      ...
</dx:ASPxGridView>
clientGrid.batchEditApi.SetFocusedCell(2,2);
See Also