Class GridPageSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 | Description |
---|---|
MvcTemplate<System.Object> |
CurrentPage
Defines the current page number of the pager.
Declaration
[HtmlAttributeName("currentPage")]
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
[HtmlAttributeName("enableQueryString")]
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
[HtmlAttributeName("pageCount")]
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
[HtmlAttributeName("pageSize")]
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
[HtmlAttributeName("pageSizes")]
public object PageSizes { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Template
Declaration
[HtmlAttributeName("template")]
public string Template { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |