Kendo.Mvc.UI.TreeListPageableSettings

Kendo UI TreeListPageableSettings class

Properties

AlwaysVisible

By default the treelist will show the pager even when total amount of items in the DataSource is less than the pageSize.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 delete, filter operation or pageSize change) 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, filter operation or pageSize change) the pager will be shown.. Introduced in the Kendo UI 2017 R3 release.

PageSize

The number of data items which will be displayed in the treelist. This setting will not work if the TreeList is assigned an already existing Kendo UI DataSource instance.

PreviousNext

If set to true the pager will display buttons for going to the first, previous, next and last pages. By default those buttons are displayed.

Numeric

If set to true the pager will display buttons for navigating to specific pages. By default those buttons are displayed.Using pageable.numeric and pageable.input at the same time is not recommended.

ButtonCount

The maximum number of buttons displayed in the numeric pager. The pager will display ellipsis (...) if there are more pages than the specified number.

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.Using pageable.input and pageable.numeric at the same time is not recommended.

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.

Info

If set to true the pager will display information about the current page and total number of data items. By default the paging information is displayed.

Messages

The text messages displayed in pager. Use this option to customize or localize the pager messages.

Enabled

If set to true the treelist will display a pager. By default paging is disabled.Only client-side paging is supported, which means that all data items are expected to be available when the treelist is initialized.Can be set to a JavaScript object which represents the pager configuration.

Methods

SerializeSettings

Serialize current instance to Dictionary