# GridMessagesCommandsSettingsBuilder

## Methods

### Cancel(System.String)

Sets the text of the "Cancel Changes" button located in the toolbar of the widget.

#### Parameters

##### value - `System.String`

The cancel changes button text.

#### RETURNS

The current [GridMessagesCommandsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridmessagescommandssettingsbuilder) instance for method chaining.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Messages(m => m.Commands(c => c.Cancel("Discard Changes")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### CancelEdit(System.String)

Sets the text of the "Cancel" button that is rendered in inline or popup editing mode.

#### Parameters

##### value - `System.String`

The cancel edit button text.

#### RETURNS

The current [GridMessagesCommandsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridmessagescommandssettingsbuilder) instance for method chaining.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Messages(m => m.Commands(c => c.CancelEdit("Dismiss")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### Create(System.String)

Sets the text of the create button located in the toolbar of the widget.

#### Parameters

##### value - `System.String`

The create button text.

#### RETURNS

The current [GridMessagesCommandsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridmessagescommandssettingsbuilder) instance for method chaining.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Messages(m => m.Commands(c => c.Create("Add new record")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### Destroy(System.String)

Sets the text of the "Delete" button rendered in inline or popup editing mode.

#### Parameters

##### value - `System.String`

The destroy button text.

#### RETURNS

The current [GridMessagesCommandsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridmessagescommandssettingsbuilder) instance for method chaining.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Messages(m => m.Commands(c => c.Destroy("Remove")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### Edit(System.String)

Sets the text of the "Edit" button that is rendered in inline or popup editing mode.

#### Parameters

##### value - `System.String`

The edit button text.

#### RETURNS

The current [GridMessagesCommandsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridmessagescommandssettingsbuilder) instance for method chaining.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Messages(m => m.Commands(c => c.Edit("Modify")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### Add(System.String)

Sets the text of the Add title that is rendered in the ActionSheet when adding a new record and adaptive mode is set to auto.

#### Parameters

##### value - `System.String`

The Add title text.

#### RETURNS

The current [GridMessagesCommandsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridmessagescommandssettingsbuilder) instance for method chaining.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Messages(m => m.Commands(c => c.Add("New record")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### Excel(System.String)

Sets the text of the "Export to Excel" button of the grid toolbar.

#### Parameters

##### value - `System.String`

The Excel button text.

#### RETURNS

The current [GridMessagesCommandsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridmessagescommandssettingsbuilder) instance for method chaining.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Messages(m => m.Commands(c => c.Excel("Export to Excel")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### Save(System.String)

Sets the text of the "Save Changes" button located in the toolbar of the widget.

#### Parameters

##### value - `System.String`

The save changes button text.

#### RETURNS

The current [GridMessagesCommandsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridmessagescommandssettingsbuilder) instance for method chaining.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Messages(m => m.Commands(c => c.Save("Save all changes")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### Search(System.String)

Sets the placeholder text in the grid search panel.

#### Parameters

##### value - `System.String`

The search placeholder text.

#### RETURNS

The current [GridMessagesCommandsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridmessagescommandssettingsbuilder) instance for method chaining.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Messages(m => m.Commands(c => c.Search("Search...")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### Update(System.String)

Sets the text of the "Update" button that is rendered in inline or popup editing mode.

#### Parameters

##### value - `System.String`

The update button text.

#### RETURNS

The current [GridMessagesCommandsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridmessagescommandssettingsbuilder) instance for method chaining.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Messages(m => m.Commands(c => c.Update("Apply")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### Sort(System.String)

Sets the text of the "Sort" button.

#### Parameters

##### value - `System.String`

The sort button text.

#### RETURNS

The current [GridMessagesCommandsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridmessagescommandssettingsbuilder) instance for method chaining.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Messages(m => m.Commands(c => c.Sort("Sort records")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### Filter(System.String)

Sets the text of the "Filter" button.

#### Parameters

##### value - `System.String`

The filter button text.

#### RETURNS

The current [GridMessagesCommandsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridmessagescommandssettingsbuilder) instance for method chaining.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Messages(m => m.Commands(c => c.Filter("Apply filter")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### Group(System.String)

Sets the text of the "Group" button.

#### Parameters

##### value - `System.String`

The group button text.

#### RETURNS

The current [GridMessagesCommandsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridmessagescommandssettingsbuilder) instance for method chaining.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Messages(m => m.Commands(c => c.Group("Group records")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### ColumnChooser(System.String)

Sets the text of the "ColumnChooser" button.

#### Parameters

##### value - `System.String`

The column chooser button text.

#### RETURNS

The current [GridMessagesCommandsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridmessagescommandssettingsbuilder) instance for method chaining.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Messages(m => m.Commands(c => c.ColumnChooser("Choose columns")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### SelectAll(System.String)

Sets the text of the label of the "SelectAll" checkbox.

#### Parameters

##### value - `System.String`

The select all label text.

#### RETURNS

The current [GridMessagesCommandsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridmessagescommandssettingsbuilder) instance for method chaining.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Messages(m => m.Commands(c => c.SelectAll("Select all items")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```
