Kendo.Mvc.UI.Fluent.TreeListPageableSettingsBuilder

Defines the fluent API for configuring the TreeListPageableSettings settings.

Methods

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 that configures the alwaysvisible.

PageSize(System.Double)

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

Parameters

value System.Double

The value that configures the 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 that configures the 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 that configures the 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 that configures the 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 that configures the input.

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 that configures the refresh.

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 that configures the 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 that configures the info.

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

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

Parameters

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

The action that configures the messages.

PageSizes(System.Collections.IEnumerable)

Sets the page sizes of the pager.

Parameters

pageSizes System.Collections.IEnumerable

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

In this article
Not finding the help you need?