TreeListPageableSettingsBuilder
Methods
PageSizes(System.Int32[])
Sets the page sizes of the pager.
Parameters
pageSizes - System.Int32[]
The values shown in the pageSize dropdown
PageSizes(System.Boolean)
Sets the page sizes of the pager.
Parameters
enabled - System.Boolean
A value indicating whether to enable the page sizes dropdown
AlwaysVisible(System.Boolean)
(Available as of the Kendo UI 2017 R3 release) By default, the TreeList will render a pager even when total number of items in the DataSource is less than the pageSize value.If set to false the TreeList will toggle the pager visibility as follows: When the total amount of items initially set in the DataSource is less than the pageSize number, the pager will be hidden.; When the total amount of items initially set in the DataSource is greater than or equal to the pageSize number, the pager will be shown.; When the total amount of items in the DataSource becomes less than the pageSize number (after a delete or filter operation, or upon changing the pageSize), the pager will be hidden. or When the total amount of items in the DataSource becomes greater than or equal to the pageSize number (after an insert or filter operation, or upon changing the pageSize), the pager will be shown..
Parameters
value - System.Boolean
The value for AlwaysVisible
PageSize(System.Double)
The number of data items which will be displayed in the TreeList.
Parameters
value - System.Double
The value for PageSize
PreviousNext(System.Boolean)
If set to true, the pager will display buttons for going to the first, previous, next, and last pages. By default, these buttons are displayed.
Parameters
value - System.Boolean
The value for PreviousNext
Numeric(System.Boolean)
If set to true, the pager will display buttons for navigating to specific pages. By default, these buttons are displayed.
Parameters
value - System.Boolean
The value for Numeric
ButtonCount(System.Double)
The maximum number of buttons that are displayed in the numeric pager. If more pages than the specified number are rendered, the pager will display ellipsis (...).
Parameters
value - System.Double
The value for ButtonCount
Input(System.Boolean)
If set to true, the pager will display an input element which allows the user to type a specific page number. By default, the page input is not displayed.
Parameters
value - System.Boolean
The value for Input
Input()
If set to true, the pager will display an input element which allows the user to type a specific page number. By default, the page input is not displayed.
Refresh(System.Boolean)
If set to true, the pager will display the Refresh button. Clicking the Refresh button will refresh the TreeList. By default, the Refresh button is not displayed.
Parameters
value - System.Boolean
The value for Refresh
Refresh()
If set to true, the pager will display the Refresh button. Clicking the Refresh button will refresh the TreeList. By default, the Refresh button is not displayed.
Responsive(System.Boolean)
If set to false, the pager will not be responsive. By default, the pager is responsive.
Parameters
value - System.Boolean
The value for Responsive
Responsive()
If set to false, the pager will not be responsive. By default, the pager is responsive.
Info(System.Boolean)
If set to true, the pager will display information about the current page and the total number of data items. By default, the paging information is displayed.
Parameters
value - System.Boolean
The value for Info
Messages(System.Action)
The text messages that are displayed in the pager. Use this option to customize or localize the pager messages.
Parameters
configurator - System.Action<TreeListPageableMessagesSettingsBuilder>
The configurator for the messages setting.