cwolves
5 Jun 2007, 1:11 PM
I have a basic editable grid with paging. I only save when the user hits the save button so they can go to multiple pages, edit multiple records, hit save and they're all udpated.
The problem is that if the user edits the same record twice (edit, page forward, page back, edit), store.getModifiedRecords() has the same record twice, once with each version of edited data.
Is there any way around this?
Also, does anyone happen to know of a way to reload the grid AND keep changes that haven't been committed?
The problem is that if the user edits the same record twice (edit, page forward, page back, edit), store.getModifiedRecords() has the same record twice, once with each version of edited data.
Is there any way around this?
Also, does anyone happen to know of a way to reload the grid AND keep changes that haven't been committed?