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.
I have a question regarding when implementing "undo" within the grid control.
Let say I have two grids 'A' and 'B', in the case when there are variables in grid 'B' that are related to grid 'A', when I delete something in grid 'A' the related variables in grid 'B' will also be deleted.
The problem now is, when I undo in grid 'A' how do I also undo grid 'B' at the same time?
I've had a look at the debug mode of the undo function, but I don't understand what the undo functionhas done.
since I'm not quite sure what the undo function has done, I'm dont know how to undo grid 'B'.
JJJisha Joy Syncfusion Team May 25, 2010 09:08 AM UTC
Hi Hanson,
Essential Grid has flexible undo-redo support that is illustrated in 'Undo-Redo Demo' sample. Run the sample and make changes to the grid. As you make the changes, the two list boxes that are displayed on your left will show the "Redo" and "Undo" buffers. Essential Grid maintains these buffers for you if you choose to enable this support.
This architecture is extensible. You can derive from either of the two abstract classes, Command or GridModelCommand, to customize the types of commands that you need.
See the following browser sample for more details.