Class TreeGridPageSettings
Configures Tree Grid page settings
Inheritance
System.Object
Syncfusion.Blazor.SfBaseComponent
TreeGridPageSettings
Assembly: Syncfusion.Blazor.dll
Syntax
public class TreeGridPageSettings : SfDataBoundComponent
Constructors
TreeGridPageSettings()
Declaration
public TreeGridPageSettings()
Properties
CurrentPage
Defines the current page number of the pager in TreeGrid.
Declaration
public int CurrentPage { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
EnableQueryString
If EnableQueryString is set to true,
then it pass current page information as a query string along with the URL while navigating to other page in TreeGrid.
Declaration
public bool EnableQueryString { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
PageCount
Defines the number of pages to be displayed in the TreeGrid pager container.
Declaration
public int PageCount { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
PageSize
Defines the number of records to be displayed in TreeGrid per page.
Declaration
public int PageSize { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
PageSizeMode
Specifies the mode of record count in a page. The options are,
All: Count all the records.
Root: Count only zeroth level parent records.
Declaration
public PageSizeMode PageSizeMode { get; set; }
Property Value
PageSizes
If PageSizes set to true or Array of values,
It renders DropDownList in the pager of TreeGrid which allow us to select pageSize from DropDownList.
Declaration
public object PageSizes { get; set; }
Property Value
Type |
Description |
System.Object |
|
Template
Defines the template which renders customized elements in pager instead of default elements.
The parameters passed to the templates can be accessed using implicit parameter named context
.
The context is of type PagerTemplateContext of the grid.
Declaration
public RenderFragment<object> Template { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.RenderFragment<System.Object> |
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder |
__builder |
|
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides