Class GridPageSettings
Inheritance
System.Object
Syncfusion.EJ2.EJTagHelper
GridPageSettings
Namespace: Syncfusion.EJ2.Grids
Assembly: Syncfusion.EJ2.dll
Syntax
public class GridPageSettings : EJTagHelper
Constructors
GridPageSettings()
Declaration
public GridPageSettings()
Properties
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
CurrentPage
Defines the current page number of the pager.
Declaration
public double CurrentPage { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |
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
Type | Description |
---|---|
System.Boolean | The default value is false |
PageCount
Defines the number of pages to be displayed in the pager container.
Declaration
public double PageCount { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 8 |
PageSize
Defines the number of records to be displayed per page.
Declaration
public double PageSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 12 |
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
Type | Description |
---|---|
System.Object | The default value is null |
Template
Declaration
public string Template { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |