Undo or Redo command

I would like to implement an undo or redo to my apps.

For example, I accidentally change 1 of the cell value and I want to make an undo button to revert back to the last transaction.

Will this be possible?

Thank you

1 Reply 1 reply marked as answer

MA Mohanram Anbukkarasu Syncfusion Team May 31, 2021 11:42 AM UTC

Hi Mark, 

Thanks for contacting Syncfusion support.

We regret to inform you that currently we don’t have the Undo/Redo support in SfDataGrid as it is a Data bound control, the changes will be reflected to the underlying data source and we cannot be undo or redo in it.
 
However after a cell value is edited and if you didn’t press enter key and commit the value, you can revert the changes by pressing escape key. It is not possible to undo the changes once the edited value is committed.  

Regards,
Mohanram A.
 


Marked as answer
Loader.
Up arrow icon