Skip to main content
All docs
V25.1
  • ASPxClientVerticalGridBatchEditApi.SetFocusedCell(visibleIndex, rowIndex) Method

    Focuses the specified cell.

    Declaration

    SetFocusedCell(
        visibleIndex: number,
        rowIndex: number
    ): void

    Parameters

    Name Type Description
    visibleIndex number

    The visible index of the record.

    rowIndex number

    The index of the row.

    Remarks

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

    <dx:ASPxVerticalGrid ID="VGrid" ClientInstanceName="clientVGrid" ...>
          ...
    </dx:ASPxVerticalGrid>
    
    clientVGrid.batchEditApi.SetFocusedCell(2,2);
    
    See Also