Kendo.Mvc.UI.Fluent.TreeListPageableSettingsBuilder

Defines the fluent API for configuring TreeListPageableSettings

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)

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.

Parameters

value System.Boolean

The value for AlwaysVisible

PageSize(System.Double)

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.

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

Parameters

value System.Boolean

The value for Numeric

ButtonCount(System.Double)

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

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

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

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.

Info(System.Boolean)

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.

Parameters

value System.Boolean

The value for Info

Messages(System.Action<Kendo.Mvc.UI.Fluent.TreeListPageableMessagesSettingsBuilder<T>>)

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

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.TreeListPageableMessagesSettingsBuilder>

The configurator for the messages setting.