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
1170
Cancel user amendments in ultragrid, on a button click.
posted

I have an application in which there is an ultraGrid that is having a data table as its data source. At run time, this grid is user editable, and user can make amendments in the data that is displayed on the grid. Now, there are two buttons: 'Save changes' & 'Cancel changes'.

When the user clicks on SAVE button, all the amendments will be saved to database, which is fine. But when user clicks on CANCEL button, all the amendments should be reverted back and the grid should display data exactly as in its data source. 

So, I am looking for the best way to revert back the changes. One way is again set the data source, but this seems to be a bit costly. Is there and alternate way to do this, like is there any inbuilt method or property of ultragird.

Thanks in advance. 

Parents
No Data
Reply Children
No Data