The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I want to do the undo/redo for each cell or rows or multiple row.... etc.. I mean anything can be undo or redo within the DataBound Grid.
Do you have any sample?
Thanks
Satish
ADAdministrator Syncfusion Team April 15, 2004 11:49 AM UTC
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 12:20 PM UTC
Clay,
Thanks again.
I Did this for each cell. But how to do undo/redo for row(s)???
Thanks
Satish
>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 01:31 PM UTC
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.