SitePen/dgrid — Issue #60: JsonRest store auto save?
Author: afeltahm
Created: 2012-01-09 10:00:23+00:00
State: open

Hello, I'm using a dGrid with a JsonRest Store and need some information about the autoSave functionality. At the moment i have a simple table with 4 columns, one of which has a checkbox. This checkbox field is the only autosave field. When i update the checkbox i see two network requests being sent of - the first is a GET the second is a POST. I presume that the first query tries to get the current values and the second posts the update back however this is not the case. Both the GET and the POST contain exactly the same data and so the data is always as defined in the database.

All the examples i've found using autoSave seem to use in Memory stores and as such don't make requests that i can compare against. As a result, please could you provide some documentation / support about using the autoSave functionality with a JsonRest Store? Thanks.