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

Kendo.Mvc.UI.Fluent.GridColumnMenuSettingsBuilder

Defines the fluent API for configuring GridColumnMenuSettings

Methods

Messages(System.Action<Kendo.Mvc.UI.Fluent.GridColumnMenuMessagesBuilder>)

Enables you to define custom messages in grid column menu.

Example (ASPX)

@(Html.Kendo().Grid(Model)
    .Name("Grid")
    .ColumnMenu(menu => menu.Messages(msg => msg.Filter("Custom filter message")))
)

Enabled(System.Boolean)

Enables/disables header column menu.

Example (ASPX)

@(Html.Kendo().Grid(Model)
    .Name("Grid")
    .ColumnMenu(menu => menu.Enabled((bool)ViewData["enableColumnMenu"]))
)

Columns(System.Action<Kendo.Mvc.UI.Fluent.GridColumnMenuColumnsSettingsBuilder<T>>)

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.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.GridColumnMenuColumnsSettingsBuilder>

The configurator for the columns setting.

Columns(System.Boolean)

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.

Parameters

enabled System.Boolean

Enables or disables the columns option.

Filterable(System.Boolean)

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.

Parameters

value System.Boolean

The value for Filterable

ComponentType(System.String)

Specifies the component type of the column menu. "classic" - Uses the standard rendering of the column menu. or "modern" - Uses new rendering with a fresh and modern look and feel..

Parameters

value System.String

The value for ComponentType

Sortable(System.Boolean)

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.

Parameters

value System.Boolean

The value for Sortable

In this article
Not finding the help you need?