Defines the fluent API for configuring TreeListSortableSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class TreeListSortableSettingsBuilder<T> where T : class
Inheritance: objectTreeListSortableSettingsBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the TreeListSortableSettingsBuilder<T> class.
public TreeListSortableSettingsBuilder(TreeListSortableSettings<T> container)
The TreeListSortableSettingsBuilder container.
Properties
Gets the container of the TreeListSortableSettingsBuilder
protected TreeListSortableSettings<T> Container { get; }
Methods
If set to true, the user can get the TreeList in its unsorted state by clicking the sorted column header.
public TreeListSortableSettingsBuilder<T> AllowUnsort(bool value)
The value for AllowUnsort
Returns:TreeListSortableSettingsBuilder<T>
Returns the current TreeListSortableSettingsBuilder<T> instance.
The sorting mode. If set to "single" the user can sort by one column. If set to "multiple" the user can sort by multiple columns.
public TreeListSortableSettingsBuilder<T> Mode(string value)
The value for Mode
Returns:TreeListSortableSettingsBuilder<T>
The TreeListSortableSettingsBuilder for method chaining.
Defines the sort modes supported by Kendo UI TreeList for ASP.NET MVC
public TreeListSortableSettingsBuilder<T> Mode(TreeListSortMode value)
The value for Mode
Returns:TreeListSortableSettingsBuilder<T>
Returns the current TreeListSortableSettingsBuilder<T> instance.