We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

undo/redo problem

Thread ID:





94609 May 24,2010 09:45 AM UTC May 26,2010 09:14 AM UTC ASP.NET Web Forms (Classic) 3
Tags: GridGroupingControl
Hanson Liao
Asked On May 24, 2010 09:45 AM UTC


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'.

Best Regards

Jisha Joy [Syncfusion]
Replied On 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.

..\\Windows\Grid.Windows\Samples\2.0\MS Excel-Style Features\Undo-Redo Demo


Hanson Liao
Replied On May 25, 2010 10:32 AM UTC

Hi Jisha,

My Essential Studio version is, and I can't find the sample 'Undo-Redo Demo'.

Is this version do not have this example?

Best Regards

Jisha Joy [Syncfusion]
Replied On May 26, 2010 09:14 AM UTC

Hi Hanson,

Thank you for your update.
In version the sample is available int he following location.

Windows/Grid.Windows/Samples/2.0/Featured Samples/Undo-Redo Demo



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon