PDA

View Full Version : How to take server response data into account when updating records



sasklacz
4 Feb 2013, 1:28 AM
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 ?

Chr1
7 Feb 2013, 12:59 AM
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.

sasklacz
27 Feb 2013, 1:36 AM
Any updates on that ?

Chr1
27 Feb 2013, 1:39 AM
I want to know as well