New to Kendo UI for AngularStart a free 30-day trial

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:

html
<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.

Sets the maximum number of actions to keep in the undo-redo stack.

Default:

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.

Methods

Re-applies the last action that you reverted with the undo method.

Reverts the last user action that you performed.