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

Defines the fluent API for configuring GridColumnMenuColumnsSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectGridColumnMenuColumnsSettingsBuilder<T>

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

Constructors

Initializes a new instance of the GridColumnMenuColumnsSettingsBuilder<T> class.

C#
public GridColumnMenuColumnsSettingsBuilder(GridColumnMenuColumnsSettings<T> container)
Parameters:containerGridColumnMenuColumnsSettings<T>

Properties

Gets or sets the Container.

C#
protected GridColumnMenuColumnsSettings<T> Container { get; }

Methods

The user defined groups of the columns visibility list.

C#
public GridColumnMenuColumnsSettingsBuilder<T> Groups(Action<GridColumnMenuColumnsSettingsGroupFactory<T>> configurator)
Parameters:configuratorAction<GridColumnMenuColumnsSettingsGroupFactory<T>>

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

C#
public GridColumnMenuColumnsSettingsBuilder<T> Sort(string value)
Parameters:valuestring

The value for Sort

Returns:

GridColumnMenuColumnsSettingsBuilder<T>

Returns the current GridColumnMenuColumnsSettingsBuilder<T> instance.