Oct 09, 2014, 7:58 AM
[CLOSED] Grid with AutoSave (row update only)
Hi
I have seen in the Autosave example that an ajax call can be made on every cell edit within a grid to persist changes. However, I don't want the grid to be that chatty and I would prefer to only save when you have finished editing a row.
I assume there is no setting for this on a store/grid?
If not I thould I could implement this myself. To persist the changes after I have finished editing on a row by row basis is to catch
1. Deselect event on the grid - will fire when you select a new row and the editing row is deselected.
2. When the grid loses focus. However, I am having difficuilty acheiving this. If a user starts editing a row and then clicks on a control or button outside of the grid...which event is thrown?
At the moment I can't get the grid to fire any events when clicking outside of it....it appears that it doesn't fire the blur event which I thought it would?
Any suggestions?
I have seen in the Autosave example that an ajax call can be made on every cell edit within a grid to persist changes. However, I don't want the grid to be that chatty and I would prefer to only save when you have finished editing a row.
I assume there is no setting for this on a store/grid?
If not I thould I could implement this myself. To persist the changes after I have finished editing on a row by row basis is to catch
1. Deselect event on the grid - will fire when you select a new row and the editing row is deselected.
2. When the grid loses focus. However, I am having difficuilty acheiving this. If a user starts editing a row and then clicks on a control or button outside of the grid...which event is thrown?
At the moment I can't get the grid to fire any events when clicking outside of it....it appears that it doesn't fire the blur event which I thought it would?
Any suggestions?
Last edited by Daniil; Oct 21, 2014 at 7:01 AM.
Reason: [CLOSED]