Class GridPageSettings
Inheritance
System.Object
GridPageSettings
Assembly: Syncfusion.Blazor.dll
Syntax
public class GridPageSettings : SfDataBoundComponent
Constructors
GridPageSettings()
Declaration
public GridPageSettings()
Properties
CurrentPage
Defines the current page number of the pager.
Declaration
public int CurrentPage { get; set; }
Property Value
EnableExternalMessage
Enable or disable the ExternalMessage.
Declaration
public bool EnableExternalMessage { get; set; }
Property Value
EnableQueryString
If EnableQueryString set to true,
then it pass current page information as a query string along with the URL while navigating to other page.
Declaration
public bool EnableQueryString { get; set; }
Property Value
ExternalMessage
Defines the pager External message.
Declaration
public string ExternalMessage { get; set; }
Property Value
PageCount
Defines the number of pages to be displayed in the pager container.
Declaration
public int PageCount { get; set; }
Property Value
PageSize
Defines the number of records to be displayed per page.
Declaration
public int PageSize { get; set; }
Property Value
PageSizes
If PageSizes set to true or Array of values,
It renders DropDownList in the pager which allow us to select pageSize from DropDownList.
Declaration
public object PageSizes { get; set; }
Property Value
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 |
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 |
System.Threading.Tasks.Task |
Overrides
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
System.Threading.Tasks.Task |
Overrides