Posted 30 March 2023, 8:30 pm EST
Good morning, Grapecity Team!
I am using Designer Component, but when I want use CellChanged event for wordWrap and autoFitRow the undo/redo (getUndoStack/getRedoStack) working not correctly.
Can you help me please!
Thank your very much!
The part of my code:
sheet.bind(GC.Spread.Sheets.Events.CellChanged, (e, args) => {
if (args.propertyName === "value" ) {
console.log("undo",spread.undoManager().getUndoStack())
console.log("redo",spread.undoManager().getRedoStack())
args.sheet.getCell(args.row, args.col).wordWrap(true);
args.sheet.autoFitRow(args.row);
}
});

