Class TreeGridPageSettings
Inheritance
Namespace: Syncfusion.EJ2.TreeGrid
Assembly: Syncfusion.EJ2.dll
Syntax
public class TreeGridPageSettings : EJTagHelper
Constructors
TreeGridPageSettings()
Declaration
public TreeGridPageSettings()
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 in TreeGrid.
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 in TreeGrid.
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 TreeGrid 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 in TreeGrid per page.
Declaration
public double PageSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 12 |
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
Type | Description |
---|---|
PageSizeMode | The default value is PageSizeMode.All |
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 | The default value is null |
Template
Defines the template which renders customized elements in pager of TreeGrid instead of default elements. It accepts either template string or HTML element ID.
Declaration
public string Template { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |