hey everyone,
i have a dataview whose store is loaded whenever a user double clicks on a row in the grid,
Code:
on double click,
store.load();
//make ajax call and update values
after which i make an ajax call to update fields in the database and then i load the grid again.but now when i double click the row in the grid the updated values do no refect in the dataview,somehow it keeps using the old values in the store.when i look at the JSON of the store , it contains the updated values but my dataview is somehow still using the old ones.
I have tried using store.removeAll(); statement immediately after store.load(); so that the store gets empty and when the row is dbl clicked the next time a fresh store gets loaded. but still my dataview shows the old values.
only if i refresh the page does it show the updated values.
thanks
hw