Unanswered: How to take server response data into account when updating records
Unanswered: How to take server response data into account when updating records
Not sure if I'm doing something wrong or this is by design, but how can I use the data returned from the server after updating a TreeStore's record ? Let's say I've modified my node name on the client side to 'New node'. I'm manually syncing my store, and on the server side I'm changing 'New node' to 'New node #1'. What I'd expect is that the value in the server response would overwrite the one saved in the store but this doesn't happen. Store's listeners already get the updated record so is there a way to extract the value from the response to update it manually ?
I would like at times to update more than than one item with data returning from the server, and I would also at times like to have some additional information shown to the user.