I am using Ext's Ext.grid.EditorGridPanel
to create a grid and using array-store with local data to populate rows in grid. When I edit the values in grid, they show a small red triangle at top-left, and also the store data is not updated.
So how can I edit local data in EditorGridPanel?
I see a similar problem in Ext Editor Grid Example, though that example also set the URL, see image below.
Solution: As I just needed to save changes locally I just did the following.
settingsGrid.on('afteredit', function(evt){
settingsGrid.store.commitChanges()
})
It fixes the problem and all user edited data is happily updated in the local store.