SMART datagrid v.1 > Classes > GridBase
When update the existing row or edit the appended row in grid, if undo has been run before, it will run Undoing of just now again and move the focus to the corresponding cell as well.
If it is not row editing state in grid, it will run Redoing of data set connected to this grid. And, if actually run Redoing, onUndoStateChanged event will be fired.
You can call canRedo to check whether Redoing is possible in current grid or data set.
$("#btnRedo").click = function () {
grid.canRedo() && grid.redo();
});