PDA

View Full Version : Load data into json file?



v2108
31 Jul 2012, 10:51 PM
How can I load data for example a changed value into a json file? Finally, I want to write updated data of an editable grid into a json file. Is this possible and how does this work.

I can't find any examples for this.
Please let me know, if you have any answer.

Nice Greets, Victoria

scottmartin
2 Aug 2012, 1:33 PM
You want to write the JSON object to the server in a new file?

Scott.

v2108
8 Aug 2012, 2:55 AM
No, I want to update the read file. Is this possible?

scottmartin
8 Aug 2012, 6:24 AM
The use of JSON is to transfer data from/to the client/server and so either one can be updated.

If you load a record from your server to a form in your client, you can make the changes and update the store that is assigned to the grid (grid will see changes) and then send the changed JSON back to the server so it can update the table. It was not meant for storage.

Scott.

v2108
13 Aug 2012, 2:31 AM
Does the store automatically get changed data? How can I implement updating of the file on the server?