Kendo UI GridColumnMenuSettings class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class GridColumnMenuSettings<T> where T : class
Inheritance: objectGridColumnMenuSettings<T>
Inherited Members
Constructors
public GridColumnMenuSettings()
Properties
Specifies the adaptive rendering of the component.
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.
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.
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.
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..
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.
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.
public bool? Filterable { get; set; }
Messages member.
public GridColumnMenuMessages Messages { get; }
Methods
Serialize method.
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()