Defines the fluent API for configuring GridColumnMenuColumnsSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class GridColumnMenuColumnsSettingsBuilder<T> where T : class
Inheritance: objectGridColumnMenuColumnsSettingsBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the GridColumnMenuColumnsSettingsBuilder<T> class.
public GridColumnMenuColumnsSettingsBuilder(GridColumnMenuColumnsSettings<T> container)
Properties
Gets or sets the Container.
protected GridColumnMenuColumnsSettings<T> Container { get; }
Methods
The user defined groups of the columns visibility list.
public GridColumnMenuColumnsSettingsBuilder<T> Groups(Action<GridColumnMenuColumnsSettingsGroupFactory<T>> configurator)
The configurator for the groups setting.
Returns:GridColumnMenuColumnsSettingsBuilder<T>
Returns the current GridColumnMenuColumnsSettingsBuilder<T> instance for method chaining.
The sort order which will be applied over the columns list. By default, the columns menu items are in the same order as the columns in the grid.The supported values are: "asc" (ascending order) or "desc" (descending order).
public GridColumnMenuColumnsSettingsBuilder<T> Sort(string value)
The value for Sort
Returns:GridColumnMenuColumnsSettingsBuilder<T>
Returns the current GridColumnMenuColumnsSettingsBuilder<T> instance.