Skip to main content
All docs
V25.1
  • ASPxClientTreeListBatchEditApi.SetFocusedCell(nodeKey, columnIndex) Method

    Focuses the specified cell.

    Declaration

    SetFocusedCell(
        nodeKey: string,
        columnIndex: number
    ): void

    Parameters

    Name Type Description
    nodeKey string

    The visible index of the node.

    columnIndex number

    The index of the column.

    Remarks

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

    <dx:ASPxTreeList ID="TreeList" ClientInstanceName="clientTList" ...>
          ...
    </dx:ASPxTreeList>
    
    clientTList.batchEditApi.SetFocusedCell(2,2);
    
    See Also