Skip to main content
All docs
V26.1
  • TreeListCommandColumnCellEditTemplateContext.VisibleIndex Property

    Returns the visible index of the current row.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.Grid.v26.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    public int VisibleIndex { get; }

    Property Value

    Type Description
    Int32

    The row’s visible index.

    Remarks

    The TreeList component assigns indexes to visible nodes to indicate row order. Indexes are zero-based and sequential across all TreeList pages.

    Row Indexes - All Pages

    DxTreeList reassigns row indexes each time a user sorts or filters data and expands/collapses rows. Filtered-out rows and rows within collapsed nodes do not have indexes. In the following image, the TreeList component does not assign indexes to subtasks of the Create Action Plan… task.

    Visible Indexes - Collapsed Items

    Refer to the following property description for additional information and an example: DxTreeListCommandColumn.CellEditTemplate.

    See Also