Unanswered: GridPanel rowediting update
I have a GridPanel which I've setup to use RowEditing. You can double click a row and it brings up the row editor just fine. I've placed a listener on the Grid for 'edit' that fires when the row is updated.
My question is, when I click the 'update' button on the row editing interface I was expecting something to be done with the store (a write or sync or something).
In my edit event I recoded it to fire a .sync() on the store. This uses the configured writer in the stores proxy but I've noticed when the request is sent it contains all the records in my store and not just the single updated record.
I've also noticed that even though the row gets marked as dirty when editing it, store.getUpdatedRecords() returns  (empty). What is the expected behavior and what are you supposed to do to get your single updated row sent over to the server?
How do you load the store? Are you maybe loading it in such a way that the records are registered as new? In other words, do the records have record.phantom = true?
This would explain no updated records, but all records being sent by the Store
> My question is, when I click the 'update' button on the row editing interface I was expecting something to be done with the store (a write or sync or something)
You can set the store to autoSave: true - This would change behaviour to what you expect
Tags for this Thread