gridundo/redo virtual grid

Hi,

I am using winforms gridcontrol. mY grid is a virtual grid. I am using gridquerycellinfo, savecellinfo, gridrowcount etc.

Currently, I am implementiing the undo/redo functionality. 
So i tried

            if (!this.theGrid.CommandStack.InTransaction)
            {
                this.theGrid.CommandStack.Undo();
               
                theGrid.Refresh();

            }
But this is not working. Can u suggest any other ways to accomplish gridundo/redo

Sun

1 Reply

JP Jeya Preetha M Syncfusion Team June 18, 2012 11:55 AM UTC

Hi Smitha,

Thank you for your interest in Syncfusion Products.

To perform undo functionality, please refer the sample in the following link.

http://www.syncfusion.com/downloads/Support/DirectTrac/95157/Undo285234316.zip

Which illustrates that, a button control will perform the undo operation.

 

Please let me know if you have any concerns.

 

Regards,

Jeya Preetha M


Loader.
Up arrow icon