TreeListPagerPosition Enum
Lists values that specify the pager position in the TreeList.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
public enum TreeListPagerPosition
#Members
Name | Description |
---|---|
Bottom
|
The Tree |
Top
|
The Tree |
Top
|
The Tree |
#Related API Members
The following properties accept/return TreeListPagerPosition values:
#Remarks
The TreeList splits a large number of data rows across multiple pages and displays the pager to enable data navigation. Use the PagerPosition property to specify the pager position in the TreeList.
The following example displays the pager both at the top and at the bottom:
@inject EmployeeTaskService EmployeeTaskService
<DxTreeList Data="TreeListData"
KeyFieldName="Id"
ParentKeyFieldName="ParentId"
PageSize="4"
PagerPosition="TreeListPagerPosition.TopAndBottom">
<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();
}
}