PDA

View Full Version : Reload Data Store but update only specific row in grid in 4.x?



chandlersong
10 May 2012, 6:23 PM
I find some example for previous version, and it seems not very simple.

and I tried the load method like this.
storeView.getStore().load({record_id: record_id});
but it don't work

I want to know the extjs 4.x' s store support this function?

vietits
10 May 2012, 6:46 PM
One of solutions for your case is using Ext.Ajax.request() to request needed record from server then on callback, updating it to the store.

chandlersong
10 May 2012, 7:06 PM
hi,vietits

Could you kindly tell me which method of store can do this?

vietits
10 May 2012, 7:36 PM
Ext.data.Store has no such a method. You have to implement by yourself. One of solutions is as my suggestion in the previous post.

chandlersong
10 May 2012, 8:58 PM
Could you kindly give the link?