UndoRedoDirective
Represents the directive that manages undo-redo operations in the Grid. Use this directive to enable undo and redo functionality for user actions in the Grid.
Definition
Package:@progress/kendo-angular-grid
Selector:[kendoGridUndoRedo]
Export Name:Accessible in templates as #kendoGridUndoRedoInstance="kendoGridUndoRedo"
Syntax:
<kendo-grid [data]="data" kendoGridUndoRedo></kendo-grid>
Inputs
itemIdKey
string
Defines the property name of the data item unique key that will be used to identify the items when performing undo-redo actions.
maxStoredStates
number
Sets the maximum number of actions to keep in the undo-redo stack.
10
Fields
Returns all undo-redo actions currently in the stack.
Events
redo
EventEmitter<UndoRedoEvent>
Fires when you perform the redo action. Provides the Grid state to apply.
undo
EventEmitter<UndoRedoEvent>
Fires when you perform the undo action. Provides the Grid state to apply.