Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1775
Undo/Redo on Inserted rows value
posted

Hi,

Can you give a sample code to undo-redo insert operation and cell edit in XamDataGrid.

Our requirement demands undo-redo operation to be provided for the following scenario. Consider a XamDataGrid which has about 2 columns. 1. User creates a new row ( which is implemented using XAMDataGrid). 2. User enters the following data in the cells - '1' and '2'.

When user performs undo, the expectation is: 1st undo - revert value '2'. 2nd undo - revert value '1' 3rd undo - rever the insert row operation.

When user performs redo, the expectation is: 1st redo - insert row. 2nd redo - enter value '1' in first cell. 3rd redo - enter value '2' in second cell.

We have customised the undo and redo for 'insert' operation, but we are facing problem while executing the redo (the 2nd and 3rd redo operation listed above. during the 2nd and 3rd redo operations the values are coming as empty.)

Request your advise on this.

 

Regards,

Sasikumar

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello Sasikumar,

     

    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.

Children
No Data