Kendo.Mvc.UI.TreeListPageableSettings

Kendo UI TreeListPageableSettings class

Properties

PageSizes

Gets or sets the select options of the page sizes drop down.

AlwaysVisible

(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..

PageSize

The number of data items which will be displayed in the TreeList.

PreviousNext

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.

Numeric

If set to true, the pager will display buttons for navigating to specific pages. By default, these buttons are displayed.

ButtonCount

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 (...).

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

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

If set to false, the pager will not be responsive. By default, the pager is responsive.

Info

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.

Messages

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

Enabled

If set to true, the TreeList displays 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

Serialize

Serializes the current instance to a Dictionary.

SerializeSettings

Serialize current instance to Dictionary

In this article
Not finding the help you need?