Defines the fluent API for configuring TreeListColumnMenuSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class TreeListColumnMenuSettingsBuilder<T> where T : class
Inheritance: objectTreeListColumnMenuSettingsBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the TreeListColumnMenuSettingsBuilder<T> class.
public TreeListColumnMenuSettingsBuilder(TreeListColumnMenuSettings<T> container)
The TreeListColumnMenuSettingsBuilder container.
Properties
Gets the container of the TreeListColumnMenuSettingsBuilder
protected TreeListColumnMenuSettings<T> Container { get; }
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.
public TreeListColumnMenuSettingsBuilder<T> Columns(bool value)
The value for Columns
Returns:TreeListColumnMenuSettingsBuilder<T>
Returns the current TreeListColumnMenuSettingsBuilder<T> instance.
Specifies the component type of the column menu.
public TreeListColumnMenuSettingsBuilder<T> ComponentType(ColumnMenuType value)
The value for ComponentType
Returns:TreeListColumnMenuSettingsBuilder<T>
Returns the current TreeListColumnMenuSettingsBuilder<T> instance.
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.
public TreeListColumnMenuSettingsBuilder<T> Filterable(bool value)
The value for Filterable
Returns:TreeListColumnMenuSettingsBuilder<T>
Returns the current TreeListColumnMenuSettingsBuilder<T> instance.
The text messages that is played in the column menu. Use it to customize or localize the column menu messages.
public TreeListColumnMenuSettingsBuilder<T> Messages(Action<TreeListColumnMenuMessagesSettingsBuilder<T>> configurator)
The TreeListColumnMenuMessagesSettingsBuilder<T> for the messages setting.
Returns:TreeListColumnMenuSettingsBuilder<T>
Returns the current instance of 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.
public TreeListColumnMenuSettingsBuilder<T> Sortable(bool value)
The value for Sortable
Returns:TreeListColumnMenuSettingsBuilder<T>
Returns the current TreeListColumnMenuSettingsBuilder<T> instance.