Kendo.Mvc.UI.TreeList

Kendo UI TreeList component

Properties

AutoBind

If set to false the widget will not bind to the specified DataSource during initialization. In this case data binding will occur when the change event of the DataSource is fired. By default the widget will bind to the DataSource specified in the configuration.

Columns

The configuration of the treelist columns. An array of JavaScript objects or strings. JavaScript objects are interpreted as column configurations. Strings are interpreted as thefield to which the column is bound. The TreeList will create a column for each item of the array.

Resizable

If set to true allows users to resize columns by dragging their header borders. By default resizing is disabled.

Reorderable

If set to true the user could reorder the columns by dragging their header cells. By default reordering is disabled.

ColumnMenu

If set to true the treelist will display the column menu when the user clicks the chevron icon in the column headers. The column menu allows the user to show and hide columns, filter and sort (if filtering and sorting are enabled). By default the column menu is not enabled.Can be set to a JavaScript object which represents the column menu configuration.

Editable

If set to true the user would be able to edit the data to which the TreeList is bound. By default, editing is disabled.Can be set to a string ("inline", "popup" or "incell") to specify the editing mode. The default editing mode is "inline".Can be set to a JavaScript object which represents the editing configuration.

Excel

Configures the Kendo UI TreeList Excel export settings.

Filterable

If set to true the user can filter the data source using the treelist filter menu. Filtering is disabled by default.Can be set to a JavaScript object which represents the filter menu configuration.

Height

The height of the treelist. Numeric values are treated as pixels.

Messages

Defines the text of the command buttons that are shown within the TreeList. Used primarily for localization.

Navigatable

If set to true the user can navigate the widget using the keyboard. By default, keyboard navigation is disabled.

Pageable

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.

Pdf

Configures the Kendo UI TreeList PDF export settings.

Scrollable

If set to true the TreeList will display a scrollbar when the total row height (or width) exceeds the TreeList height (or width). By default scrolling is enabled.Scrolling renders separate tables for the header and data area. For accessibility-conscious applications, disable scrolling.

Sortable

If set to true the user could sort the treelist by clicking the column header cells. By default sorting is disabled.Can be set to a JavaScript object which represents the sorting configuration.

Toolbar

If a String value is assigned to the toolbar configuration option, it will be treated as a single string template for the whole treelist Toolbar, and the string value will be passed as an argument to a kendo.template() function.If a Function value is assigned (it may be a kendo.template() function call or a generic function reference), then the return value of the function will be used to render the treelist Toolbar contents.If an Array value is assigned, it will be treated as the list of commands displayed in the treelist Toolbar. Commands can be custom or built-in ("create", "excel", "pdf"). The "create" command adds an empty data item to the treelist.; The "excel" command exports the treelist data in MS Excel format. or The "pdf" command exports the treelist data in PDF format..

Selectable

Specifies whether TreeList selection is allowed. By default selection is disabled

Methods

SerializeSettings

Serialize current instance to Dictionary