ASPxClientGridViewBatchEditApi.SetFocusedCellByKey(key, columnIndex) Method
In This Article
Focuses the specified cell.
#Declaration
TypeScript
SetFocusedCellByKey(
key: any,
columnIndex: number
): void
#Parameters
Name | Type | Description |
---|---|---|
key | any | The row key. |
column |
number | The index of the column. |
#Remarks
Use the SetFocusedCellByKey
, SetFocusedCell(rowVisibleIndex, columnIndex), and GetFocusedCell methods to control the cell focus on the client side.
<dx:ASPxGridView ID="GridView" ClientInstanceName="clientGrid" ...>
...
</dx:ASPxGridView>
clientGrid.batchEditApi.SetFocusedCell(row_key,2);
See Also