PDA

View Full Version : Un able to Reload the Data in to Grid



mahesh_yamsani
21 Jan 2011, 2:17 AM
Hi ,

I have a CRUD based grid , for this I am using HttpProxy with Json Data Store.

When I am a adding a record to the grid , that record is getting saved in the remote server Data base properly, and I want to reload the grid with the newly added records. For that I am calling
store.reload()
But this one is not reloading the Grid.

Can any one help me in solving this issue.

valititi
21 Jan 2011, 9:58 PM
where you call store.reload() ?
have you some cache by there ?

Condor
22 Jan 2011, 3:16 AM
Are you using an Ext.data.JsonWriter? Why do you need to reload the store (assuming your server is correctly returning the new records from the create request)?