#Undo/Redo
Provides the option to undo (Undo) or redo (Redo) user input or dataset modification step by step. To use this feature, set GridBase.undoable to true. Also, to enable Undo/Redo within the dataset, set DataProviderBase.undoable to true. In most cases, when providing the Undo/Redo UI to the user, you can simply specify both properties as true.
Shortcut keys
The Undo / Redo shortcut keys are used as follows for each operating system.
Undo
Windows = CTRL + Z
MAC = CMD + Z
Redo
Windows = CTRL + Y
MAC = CMD + SHIFT + Z
DataProvider settings
When creating a grid, the Undo / Redo properties must be set. To set this property, you must pass true as an argument value when creating a provider as shown below.
dataProvider = new RealGrid.LocalDataProvider(true);
Grid settings
When the current row is being edited, the row value is returned to the value before modification.
gridView.undoable = true;