Class PageSettings
Gets or sets an object that indicates whether to modify the pager default configuration.
Inherited Members
Namespace: Syncfusion.JavaScript.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class PageSettings : EJTagHelper
Constructors
PageSettings()
Declaration
public PageSettings()
Properties
CurrentPage
Gets or sets a value that indicates whether to define which page to display currently in the grid.
Declaration
[JsonProperty("currentPage")]
public int CurrentPage { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
EnableQueryString
Gets or sets a value that indicates whether to pass the current page information as a query string along with the URL while navigating to other page.
Declaration
[JsonProperty("enableQueryString")]
public bool EnableQueryString { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableTemplates
Gets or sets a value that indicates whether to enables pager template for the grid.
Declaration
[JsonProperty("enableTemplates")]
public bool EnableTemplates { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsResponsive
Gets or sets a value that indicates whether apply responsive for pager for the grid.
Declaration
[JsonProperty("isResponsive")]
public bool IsResponsive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Locale
Gets or sets a value that indicates whether to customizing the user interface (UI) as locale-specific in order to display regional data i.e. in a language and culture specific to a particular country or region.
Declaration
[JsonProperty("locale")]
public string Locale { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PageCount
Gets or sets a value that indicates whether to define the number of pages displayed in the pager for navigation.
Declaration
[JsonProperty("pageCount")]
public int PageCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PageSize
Gets or sets a value that indicates whether to define the number of records displayed per page.
Declaration
[JsonProperty("pageSize")]
public int PageSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PageSizeList
Declaration
[JsonProperty("pageSizeList")]
public List<int> PageSizeList { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Int32> |
PrintMode
Gets or sets a value that indicates whether to define the number of pages to print.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("printMode")]
public PrintMode PrintMode { get; set; }
Property Value
Type | Description |
---|---|
PrintMode |
ShowDefaults
Gets or sets a value that indicates whether to enables default pager for the grid.
Declaration
[JsonProperty("showDefaults")]
public bool ShowDefaults { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Template
Gets or sets a value that indicates to add the template as a pager template for grid.
Declaration
[JsonProperty("template")]
public string Template { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TotalPages
Get the value of total number of pages in the grid. The totalPages value is calculated based on page size and total records of grid.
Declaration
[JsonProperty("totalPages")]
public int? TotalPages { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
TotalRecordsCount
Get the value of total number of records which is bound to the grid. The totalRecordsCount value is calculated based on dataSource bound to the grid.
Declaration
[JsonProperty("totalRecordsCount")]
public int? TotalRecordsCount { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |