Defines the fluent interface for configuring toolbar commands.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
The type of the model
Syntax:
public class GridToolBarCommandFactoryBase<T> where T : class
Inheritance: objectGridToolBarCommandFactoryBase<T>
Derived Classes:
Inherited Members
Constructors
public GridToolBarCommandFactoryBase(GridToolBarSettings<T> settings, GridMessagesCommandsSettings messagesSettings)
Methods
Adds a command that triggers the edit state of currently selected item. To work as expected, the grid should have the Selectable configuration enabled. If multiple selection is enabled, the item which will be edited is the last selected one.
public GridToolBarCommandBuilder<T> AIAssistant()
Returns a GridToolBarCommandBuilder instance for further configuration of the command.
Adds a command that cancels the changes to the dataItem that is being currenly edited.
Adds a command that enables the user to change the visibillity of the Grid's columns.
Adds a global columns command to the ToolBar.
Defines a create command.
Defines a custom command.
Adds a command that removes the selected item. To work as expected, the grid should be have the Selectable configuration enabled. If multiple selection is enabled, the item which will be remoed is the last selected one.
Adds a command that triggers the edit state of currently selected item. To work as expected, the grid should have the Selectable configuration enabled. If multiple selection is enabled, the item which will be edited is the last selected one.
Represents a command which exports the current grid data to Excel.
Adds a command that enables the user to use the filtering functionallity of the Grid.
Adds a command that enables the user to use the grouping functionallity of the Grid.
Adds a DropDownList to the ToolBar that allows the user to customize the pasting behavior.
public void Paste()
Represents a command which exports the current grid data to PDF.
Defines a save command.
Defines a custom command.
Adds a checkbox to the ToolBar that allows the user to select all items. Requires enabled checkbox selection and multiple row selection
public void SelectAll()
Adds a separator to the ToolBar.
public void Separator()
Adds a SmartBox command to the Grid ToolBar. The SmartBox provides search, semantic search, and AI assistant capabilities.
public void SmartBox()
Adds a command that enables the user to use the sorting functionallity of the Grid.
Adds a spacer to the ToolBar.
public void Spacer()
Adds a command that saves the changes to the dataItem that is being currenly edited. Applicable when using InLine Editing.