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

Kendo UI GridColumnMenuSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectGridColumnMenuSettings<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 GridColumnMenuSettings()

Properties

Specifies the adaptive rendering of the component.

C#
public AdaptiveMode? AdaptiveMode { get; set; }

If set to true the column menu would allow the user to fit one or all columns to the width of their content. This setting is available only when the tabbed componentType is used.

C#
public bool? AutoSize { get; set; }

If set to true, the global column menu will render a button to allow the user to clear all filters applied to the grid.

C#
public bool? ClearAllFilters { get; set; }

If set to true the column menu would allow the user to select (show and hide) grid columns. By default the column menu allows column selection.

C#
public GridColumnMenuColumnsSettings<T> Columns { get; }

Specifies the component type of the column menu. "classic" - Uses the standard rendering of the column menu.; "modern" - Uses new rendering with a fresh and modern look and feel. or "tabbed" - Uses the rendering of the "modern" menu, but splits its content into different tabs..

C#
public string ComponentType { get; set; }

If set to true the grid will display the column menu when the user clicks the chevron icon in the column headers. The column menu allows the user to show and hide columns, filter and sort (if filtering and sorting are enabled). By default the column menu is not enabled.Can be set to a JavaScript object which represents the column menu configuration.

C#
public bool? Enabled { get; set; }

If set to true the column menu would allow the user to filter the grid. By default the column menu allows the user to filter if filtering is enabled via the filterable.

C#
public bool? Filterable { get; set; }

Grid member.

C#
public Grid<T> Grid { get; set; }

Messages member.

C#
public GridColumnMenuMessages Messages { get; }

If set to true the column menu would allow the user to sort the grid by the column field. By default the column menu allows the user to sort if sorting is enabled via the sortable option.

C#
public bool? Sortable { get; set; }

Methods

Serialize method.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>