Posted 29 April 2019, 7:18 am EST
Hi All ,
I have 2 buttons for doing undo and redo operations on spreadsheet. On click of these buttons I am invoking the below code
var undoManager = new GC.Spread.Commands.UndoManager();
function undo(){
if(undoManager)
undoManager.undo();
}
function redo(){
if(undoManager)
undoManager.redo();
}
$('#undo').click(function(){
undo();
});
$('#redo').click(function(){
redo();
})
But this code is not working. When I click on undo or redo nothing is happening.
