I use handsontable with react wrapper, and i have a function that change row data by setState of react . Is there any way to modify the undo and redo stack, so i can use the redo function after change data by my custom function ?
Can you show your implementation?
May I send you a demo - https://codesandbox.io/s/fetch-data-lo7q3
And you based on it extend to better reflect your needs and your issue.
If you use
state you have to keep all changes what you interest in your
For example, in this demo with Redux - https://codesandbox.io/s/advanced-handsontablereact-implementation-using-hotcolumn-ovrk5 - you could change a value and next use
ctl + z which works as expected, i.e. undo to the previous changes.