GridColumnMenuMessagesBuilder

Methods

Filter(System.String)

Sets the text displayed for filter menu option.

Parameters

message - System.String

The message

Example

Razor
 
             @(Html.Kendo().Grid(Model)
                        .Name("Grid")
                        .ColumnMenu(menu => menu.Messages(m => m.Filter("MyMessage")))
            )
             

Columns(System.String)

Sets the text displayed for columns menu option.

Parameters

message - System.String

The message

Example

Razor
 
             @(Html.Kendo().Grid(Model)
                        .Name("Grid")
                        .ColumnMenu(menu => menu.Messages(m => m.Columns("MyMessage")))
            )
             

SetColumnPosition(System.String)

Sets the text displayed for the column position item.

Parameters

message - System.String

The message

Example

Razor
 
             @(Html.Kendo().Grid(Model)
                        .Name("Grid")
                        .ColumnMenu(menu => menu.Messages(m => m.SetColumnPosition("MyMessage")))
            )
             

SortAscending(System.String)

Sets the text displayed for sort ascending menu option.

Parameters

message - System.String

The message

Example

Razor
 
             @(Html.Kendo().Grid(Model)
                        .Name("Grid")
                        .ColumnMenu(menu => menu.Messages(m => m.SortAscending("MyMessage")))
            )
             

SortDescending(System.String)

Sets the text displayed for sort descending menu option.

Parameters

message - System.String

The message

Example

Razor
 
             @(Html.Kendo().Grid(Model)
                        .Name("Grid")
                        .ColumnMenu(menu => menu.Messages(m => m.SortDescending("MyMessage")))
            )
             

ColumnSettings(System.String)

Sets the text displayed for menu header.

Parameters

message - System.String

The message

Example

Razor
 
             @(Html.Kendo().Grid(Model)
                        .Name("Grid")
                        .ColumnMenu(menu => menu.Messages(m => m.ColumnSettings("MyMessage")))
            )
             

Lock(System.String)

Sets the text message displayed in the column menu for locking a column.

Parameters

message - System.String

The message

Example

Razor
 
             @(Html.Kendo().Grid(Model)
                        .Name("Grid")
                        .ColumnMenu(menu => menu.Messages(m => m.Lock("MyMessage")))
            )
             

Unlock(System.String)

Sets the text message displayed in the column menu for unlocking a column.

Parameters

message - System.String

The message

Example

Razor
 
             @(Html.Kendo().Grid(Model)
                        .Name("Grid")
                        .ColumnMenu(menu => menu.Messages(m => m.Unlock("MyMessage")))
            )
             

Stick(System.String)

Sets the text message displayed in the column menu for sticking a column.

Parameters

message - System.String

The message

Example

Razor
 
             @(Html.Kendo().Grid(Model)
                        .Name("Grid")
                        .ColumnMenu(menu => menu.Messages(m => m.Stick("MyMessage")))
            )
             

Unstick(System.String)

Sets the text message displayed in the column menu for unsticking a column.

Parameters

message - System.String

The message

Example

Razor
 
             @(Html.Kendo().Grid(Model)
                        .Name("Grid")
                        .ColumnMenu(menu => menu.Messages(m => m.Unstick("MyMessage")))
            )
             

Apply(System.String)

Sets the text of the apply button.

Parameters

message - System.String

The message

Example

Razor
 
             @(Html.Kendo().Grid(Model)
                        .Name("Grid")
                        .ColumnMenu(menu => menu.Messages(m => m.Apply("MyMessage")))
            )
             

Reset(System.String)

Sets the text of the reser button.

Parameters

message - System.String

The message

Example

Razor
 
             @(Html.Kendo().Grid(Model)
                        .Name("Grid")
                        .ColumnMenu(menu => menu.Messages(m => m.Reset("MyMessage")))
            )
             

ButtonTitle(System.String)

The title of the button that displays the ColumnMenu.

Parameters

message - System.String

The message

Example

Razor
 
             @(Html.Kendo().Grid(Model)
                        .Name("Grid")
                        .ColumnMenu(menu => menu.Messages(m => m.ButtonTitle("MyMessage")))
            )
             

AutoSizeColumn(System.String)

Sets the text of the AutoSizeColumn button.

Parameters

message - System.String

The message

Example

Razor
 
             @(Html.Kendo().Grid(Model)
                        .Name("Grid")
                        .ColumnMenu(menu => menu.Messages(m => m.AutoSizeColumn("MyMessage")))
            )
             

AutoSizeAllColumns(System.String)

Sets the text of the AutoSizeAllColumns button.

Parameters

message - System.String

The message

Example

Razor
 
             @(Html.Kendo().Grid(Model)
                        .Name("Grid")
                        .ColumnMenu(menu => menu.Messages(m => m.AutoSizeAllColumns("MyMessage")))
            )