# TreeList

## Properties

### DataSource - [DataSource](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/datasource)

Gets or sets the DataSource.

### DataSourceId - String

### Filterable - [TreeListFilterableSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/treelistfilterablesettings)

Operators member.

### Toolbar - [TreeListToolbarSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/treelisttoolbarsettings)

A JavaScript array that contains the ToolBar's commands configuration.

### ToolbarTemplate - String

### ToolbarTemplateId - String

### ToolbarTemplateHandler - String

### Pageable - [TreeListPageableSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/treelistpageablesettings)

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

### AltRowTemplate - String

### AltRowTemplateId - String

### AltRowTemplateHandler - String

### AutoBind - Nullable

### Columns - List

### Resizable - Nullable

### Reorderable - Nullable

### ColumnMenu - [TreeListColumnMenuSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/treelistcolumnmenusettings)

If set to true, the column menu allows the user to select (show and hide) TreeList columns. By default, the column menu allows column selection.

### Editable - [TreeListEditableSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/treelisteditablesettings)

Configures the Window instance which is used when the TreeList edit mode is set to popup.

### Excel - [TreeListExcelSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/treelistexcelsettings)

If set to true the TreeList will export all pages of data. By default the TreeList exports only the current page.

### Height - Nullable

### Messages - [TreeListMessagesSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/treelistmessagessettings)

Defines the text for the command buttons that are used across the widget.

### Navigatable - Nullable

### Pdf - [TreeListPdfSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/treelistpdfsettings)

Exports all TreeList pages, starting from the first one.

### RowTemplate - String

### RowTemplateId - String

### RowTemplateHandler - String

### Scrollable - Nullable

### Search - [TreeListSearchSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/treelistsearchsettings)

The fields by which the grid will search

### Sortable - [TreeListSortableSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/treelistsortablesettings)

If set to true, the user can get the TreeList in its unsorted state by clicking the sorted column header.

### Selectable - [TreeListSelectableSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/treelistselectablesettings)

Specifies whether multiple or single selection is allowed.

### Events - IDictionary

### Id - String

### SanitezeId - Boolean

### Writer - IJavaScriptWriter

### Initializer - IJavaScriptInitializer

### IsInClientTemplate - Boolean

### IsSelfInitialized - Boolean

### HasDeferredInitialization - Boolean

### HtmlAttributes - IDictionary

### ScriptAttributes - IDictionary

### HtmlHelper - IHtmlHelper

### ModelMetadataProvider - IModelMetadataProvider

### Name - String

### Explorer - ModelExplorer

### Selector - String

### IdPrefix - String

### ViewContext - ViewContext

### ValueProvider - IValueProvider

### UrlGenerator - IUrlGenerator

### HtmlEncoder - HtmlEncoder

### HasClientComponent - Boolean

### UseMvvmInitialization - Boolean

## Methods

### ProcessSettings()

Processes the TreeList settings.

### WriteInitializationScript(System.IO.TextWriter)

Writes the TreeList initialization script.

#### Parameters

##### writer - `System.IO.TextWriter`

The text writer instance.

### Serialize()

Serializes the component settings to a dictionary.

#### RETURNS

A dictionary of settings.

### Render()

Renders the component.

### ToClientTemplate()

ToClientTemplate method.

### ToHtmlString()

ToHtmlString method.

#### RETURNS

The result.

### VerifySettings()

VerifySettings method.

### WriteDeferredStyles(System.IO.TextWriter)

Writes the deferred styes.

#### Parameters

##### writer - `System.IO.TextWriter`

The writer.

### DeferStyles()

DeferStyles method.

### GetHtml(System.Boolean)

GetHtml method.

#### Parameters

##### includeScript - `System.Boolean`

#### RETURNS

The result.

### GetInitializator()

GetInitializator method.

#### RETURNS

The result.

### WriteDeferredScriptInitialization()

WriteDeferredScriptInitialization method.
