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. Image for the cookie policy date

undo/redo copy & paste


Hi,

I was wondering how to undo a copy&paste if it has already been done? For example, if the user accidentally pastes into the wrong column and needs to undo the entire paste, how could this be handled with the GDBG?

Thanks!

4 Replies

GR Golda Rebecal Syncfusion Team September 21, 2007 05:25 AM UTC

Hi,

You can perform undo operation by just enabling the CommandStack of the Model.

//to undo the paste operation
gridDataBoundGrid1.Model.CommandStack.Enabled = true;

Kindly let me know if this helps you.

We appreciate your interest in Syncfusion products.

Best regards,
Golda



JO John September 21, 2007 01:47 PM UTC

Hi,

Thanks Golda, I'll give it a try as soon as I can...


JO John October 3, 2007 11:24 PM UTC


Hi,

Is it possible to undo deleted rows or deleted columns? Thanks!





>Hi,

You can perform undo operation by just enabling the CommandStack of the Model.

//to undo the paste operation
gridDataBoundGrid1.Model.CommandStack.Enabled = true;

Kindly let me know if this helps you.

We appreciate your interest in Syncfusion products.

Best regards,
Golda



GR Golda Rebecal Syncfusion Team October 4, 2007 02:07 PM UTC

Hi,

It is not possible to undo the deleted rows/columns in DataBoundGrid since when a row/column is deleted, it will be permanently removed from the data source.

Kindly let me know if you have any questions.

Best regards,
Golda

Loader.
Live Chat Icon For mobile
Up arrow icon