Skip to main content
All docs
V24.2

ASPxClientGridViewBatchEditApi.GetFocusedCell Method

Gets information about a focused cell.

Declaration

GetFocusedCell(): ASPxClientGridViewCellInfo

Returns

Type Description
ASPxClientGridViewCellInfo

Information about the focused cell.

Remarks

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

<dx:ASPxGridView ID="GridView" ClientInstanceName="clientGrid" ...>
      ...
</dx:ASPxGridView>
var selCol = clientGrid.batchEditApi.GetFocusedCell().column;
See Also