Skip to main content
A newer version of this page is available.
All docs
V19.2

ASPxClientGridView.SetFocusedCellByKey(key, columnIndex) Method

Focuses the specified cell.

Declaration

SetFocusedCellByKey(
    key: any,
    columnIndex: number
): void

Parameters

Name Type Description
key any

A String value that identifies the row by its key value.

columnIndex number

A zero-based index that identifies the column in the column collection (the column’s CollectionItem.Index property value).

Remarks

Use the ASPxClientGridView.GetFocusedCell and SetFocusedCellByKey methods to control the cell focus on the client side.

See Also