ADAdministrator Syncfusion Team April 15, 2004 06:49 AM
After the grid has been initialized, set
this.gridDataBoundGrid1.Model.CommandStack.Enabled = true;
Then ctl+Z and ctl+Y should undo/redo user changes.
SASatishApril 15, 2004 07:20 AM
I Did this for each cell. But how to do undo/redo for row(s)???
>After the grid has been initialized, set
> this.gridDataBoundGrid1.Model.CommandStack.Enabled = true;
>Then ctl+Z and ctl+Y should undo/redo user changes.
ADAdministrator Syncfusion Team April 15, 2004 08:31 AM
If you are talking about removing/inserting rows, then currently that is not supported in a GridDataBoundGrid. If you wanted to do this, then you would have to derived your own custom undo/redo command to manage it.
If you are talking about you user changing values on different rows, then just enabling the CommandStack supports this for me.