Skip to main content
All docs
V24.2

DxTreeList.PageSizeSelectorAllRowsItemVisible Property

Specifies whether the page size selector contains the All item.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(false)]
[Parameter]
public bool PageSizeSelectorAllRowsItemVisible { get; set; }

Property Value

Type Default Description
Boolean false

true to display the All item; otherwise, false.

Remarks

When the PageSizeSelectorVisible option is set to true, the TreeList displays the page size selector. Enable the PagerAllDataRowsItemVisible property to display the All item in the selector. When a user selects this item, the TreeList sets the ShowAllRows property to true and displays all rows on one page.

Run Demo: TreeList - Paging

@inject EmployeeTaskService EmployeeTaskService

<DxTreeList Data="TreeListData"
            KeyFieldName="Id"
            ParentKeyFieldName="ParentId"
            PageSizeSelectorVisible="true"
            PageSizeSelectorItems="@(new int[] { 5, 10, 15 })"
            PageSizeSelectorAllRowsItemVisible="true">
    <Columns>
        <DxTreeListDataColumn FieldName="Name" Caption="Task" />
        <DxTreeListDataColumn FieldName="EmployeeName" />
        <DxTreeListDataColumn FieldName="StartDate" />
        <DxTreeListDataColumn FieldName="DueDate" />
    </Columns>
</DxTreeList>


@code {
    List<EmployeeTask> TreeListData { get; set; }

    protected override void OnInitialized() {
        TreeListData = EmployeeTaskService.GenerateData();
    }
}

Blazor TreeList Page Size Selector

For more information about paging in the TreeList component, refer to the following topic: Paging in Blazor TreeList.

See Also