New to Kendo UI for Angular? Start a free 30-day trial
UndoRedoDirective
Selector
[kendoGridUndoRedo]
Export Name
Accessible in templates as #kendoUndoRedoInstance="kendoGridUndoRedo"
Inputs
Name | Type | Default | Description |
---|---|---|---|
maxStoredStates |
|
|
Determines the maximum number of actions to keep in the undo-redo stack. |
Fields
Name | Type | Default | Description |
---|---|---|---|
undoRedoItems |
|
Returns an array of all undo-redo actions that are currently in the stack. |
Events
Name | Type | Description |
---|---|---|
redo |
|
Fires when undo action is performed. Exposes the state of the grid that will be applied. |
undo |
|
Fires when undo action is performed. Exposes the state of the grid that will be applied. |
Methods
redo |
---|
Re-applies the last action, reverted by the |
undo |
---|
Reverts the last user action. |