New to Kendo UI for Angular? Start a free 30-day trial
UndoCommandToolbarDirective
Represents the command for triggering the undo action in the Grid.
You can apply this directive to any kendo-toolbar-button
element inside a
ToolbarComponent used in the Grid.
When the user clicks the toolbar button that is associated with the directive, the undo event is triggered.
html
<kendo-grid>
<kendo-toolbar>
<kendo-toolbar-button kendoGridUndoTool></kendo-toolbar-button>
</kendo-toolbar>
</kendo-grid>
Constructors
UndoCommandToolbarDirective
(undoRedoService: UndoRedoService, host: ToolBarButtonComponent)
Parameters
undoRedoService
UndoRedoService
host
ToolBarButtonComponent