Categories | Question details Back To List | ||
Cancel Edit I have the following situation: A grid with 10 rows and the user has already edited 3 rows but hasnt pressed the save button yet and while editing the 4th row he decides to cancel the edit operation for that one row but still wants to preserve the edits made to the 3 rows. Is there a way to achieve this with any of the grid functions? Answer posted by Support on Jun 27, 2008 02:54 The grid doesn't store the previous values of cells ( you can try _undo.js extension, but it not very well suited for your usecase ) so there is no way to restore original values in changed cells. If you are using dataprocessor , and just need to prevent saving of updated row, you can use grid.stopEdit(true); dataproce.setUpdated(rowId,false); //remove "updated" flag from the row |