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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Undo/Redo DataBoundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

12926 Apr 15,2004 10:45 AM UTC Apr 15,2004 01:31 PM UTC Windows Forms 3
loading
Tags: GridControl
Satish
Asked On April 15, 2004 10:45 AM UTC

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

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

Satish
Replied On April 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.

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

CONFIRMATION

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.

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

;