ItemFileWriteStore: how to change the data?
- by jeff porter
Hi,
I'd like to change the data in my dojo.data.ItemFileWriteStore.
Currently I have...
var rawdataCacheItems = [{'cachereq':'14:52:03','name':'Test1','cacheID':'3','ver':'7'}];
var cacheInfo = new dojo.data.ItemFileWriteStore({
data: {
identifier: 'cacheID',
label: 'cacheID',
items: rawdataCacheItems
}
});
I'd like to make a XHR request to get a new JSON string of the data to render.
What I can't work out is how to change the data in the "items" held by ItemFileWriteStore.
Can anyone point me in the correct direction?
Thanks
Jeff Porter