Dataprovider question
Hi
Just a small area of dataProvider code I am 5% unsure of.
When you populate a provider with an object, eg...
myData = JSON.parse(event.target.data);// add JSON to object
listDP = new DataProvider(myData);// add object to dataProvider
data_grid.dataProvider = listDP;//set datagrid's dataProvider
...when you are making edits to the data, do you edit myData, and then to update the dataProvider...
listDP = new DataProvider(myData);// update dataProvider
...or do you somehow edit listDP directly?
Another way to ask...
...if the above was in an editable datagrid, when you make an edit, does Flash update myData, then do listDP = new DataProvider(myData); , or does it directly edit listDP?
Thanks guys
