Class TreeGridPageSettingsBuilder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class TreeGridPageSettingsBuilder
Constructors
TreeGridPageSettingsBuilder(TreeGridPageSettings)
Initializes a new instance of the
Declaration
public TreeGridPageSettingsBuilder(TreeGridPageSettings page)
Parameters
Type | Name | Description |
---|---|---|
TreeGridPageSettings | page | It displays the list of pageSettings option |
Methods
CurrentPage(Int32)
It sets a value that indicates currently displayed page in the tree grid
Declaration
public TreeGridPageSettingsBuilder CurrentPage(int currentPage)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | currentPage | It accepts the integer value and displays current page |
Returns
Type | Description |
---|---|
TreeGridPageSettingsBuilder | TreeGridPageSettingsBuilder |
PageCount(Int32)
It sets a value that indicates number of pages displayed in the pager for navigation
Declaration
public TreeGridPageSettingsBuilder PageCount(int pageCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageCount | It accepts the integer value and displays the page count |
Returns
Type | Description |
---|---|
TreeGridPageSettingsBuilder | TreeGridPageSettingsBuilder |
PageSize(Int32)
It sets a value that indicates page size to be displayed in pager.
Declaration
public TreeGridPageSettingsBuilder PageSize(int pageSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageSize | It accepts the integer value and displays page size |
Returns
Type | Description |
---|---|
TreeGridPageSettingsBuilder | TreeGridPageSettingsBuilder |
PageSizeMode(TreeGridPageSizeMode)
It sets a value that indicates page size mode for display.
Declaration
public TreeGridPageSettingsBuilder PageSizeMode(TreeGridPageSizeMode pageSizeMode)
Parameters
Type | Name | Description |
---|---|---|
TreeGridPageSizeMode | pageSizeMode | It defines the number of page size mode |
Returns
Type | Description |
---|---|
TreeGridPageSettingsBuilder | TreeGridPageSettingsBuilder |
PrintMode(TreeGridPrintMode)
It sets a value that indicates whether to define the number of pages to print
Declaration
public TreeGridPageSettingsBuilder PrintMode(TreeGridPrintMode printMode)
Parameters
Type | Name | Description |
---|---|---|
TreeGridPrintMode | printMode | It defines the number of pages to print |
Returns
Type | Description |
---|---|
TreeGridPageSettingsBuilder | TreeGridPageSettingsBuilder |
Template(String)
It sets a value that indicates to add the custom pager in tree grid
Declaration
public TreeGridPageSettingsBuilder Template(string template)
Parameters
Type | Name | Description |
---|---|---|
System.String | template | It accepts the string value and displays pager template |
Returns
Type | Description |
---|---|
TreeGridPageSettingsBuilder | TreeGridPageSettingsBuilder |
TotalRecordsCount(Int32)
It sets the value of total records count in a pager.
Declaration
public TreeGridPageSettingsBuilder TotalRecordsCount(int totalRecordsCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | totalRecordsCount | It accepts the integer value and displays the total number of records |
Returns
Type | Description |
---|---|
TreeGridPageSettingsBuilder | TreeGridPageSettingsBuilder |