Dec 08, 2011, 7:09 AM
[CLOSED] forcing a gridpanel save
hi
Is it possible to force a gridPanel.save() even if nothing is changed in the grid? What i mean is that i have following:
As far as I know the save() method fires BeforeStoreChanged event where store's "modified", "deleted" and "added" entries are submitted to the server. Now I have a case that even if there is nothing in "modified" list, i.e. nothing has changed, I still want that everything in the list should be somehow manipulated and all the entries should belong to the modified list so that in the BeforeStoreChanged event these entries can again be saved.
Is it possible to force a gridPanel.save() even if nothing is changed in the grid? What i mean is that i have following:
- a store which has its OnBeforeStoreChanged set to a server handler that saves the grid
- a Grid bound to that store whith a button having a listener that calls gridpanel.save().
As far as I know the save() method fires BeforeStoreChanged event where store's "modified", "deleted" and "added" entries are submitted to the server. Now I have a case that even if there is nothing in "modified" list, i.e. nothing has changed, I still want that everything in the list should be somehow manipulated and all the entries should belong to the modified list so that in the BeforeStoreChanged event these entries can again be saved.
Last edited by Daniil; Dec 08, 2011 at 12:52 PM.
Reason: [CLOSED]