New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the TreeListColumnMenuSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class TreeListColumnMenuSettingsBuilder<T> where T : class

Inheritance: objectTreeListColumnMenuSettingsBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public TreeListColumnMenuSettingsBuilder(TreeListColumnMenuSettings settings)
Parameters:settingsTreeListColumnMenuSettings

Methods

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.

C#
public TreeListColumnMenuSettingsBuilder<T> Columns(bool value)
Parameters:valuebool

The value that configures the columns.

Returns:

TreeListColumnMenuSettingsBuilder<T>

Specifies the component type of the column menu.

C#
public TreeListColumnMenuSettingsBuilder<T> ComponentType(ColumnMenuType value)
Parameters:valueColumnMenuType

The value that configures the componenttype.

Returns:

TreeListColumnMenuSettingsBuilder<T>

If set to true, the column menu will allow the user to filter the TreeList. By default, if filtering is enabled through filterable, the column menu allows the user to filter.

C#
public TreeListColumnMenuSettingsBuilder<T> Filterable(bool value)
Parameters:valuebool

The value that configures the filterable.

Returns:

TreeListColumnMenuSettingsBuilder<T>

The text messages that is played in the column menu. Use it to customize or localize the column menu messages.

C#
public TreeListColumnMenuSettingsBuilder<T> Messages(Action<TreeListColumnMenuMessagesSettingsBuilder<T>> configurator)
Parameters:configuratorAction<TreeListColumnMenuMessagesSettingsBuilder<T>>

The action that configures the messages.

Returns:

TreeListColumnMenuSettingsBuilder<T>

If set to true, the column menu will allow the user to sort the TreeList by the column field. By default, if sorting is enabled through sortable, the column menu allows the user to sort the data.

C#
public TreeListColumnMenuSettingsBuilder<T> Sortable(bool value)
Parameters:valuebool

The value that configures the sortable.

Returns:

TreeListColumnMenuSettingsBuilder<T>