PDA

View Full Version : Dynamically Adding Records to Paging Memory Proxy



sencha99999
3 Apr 2012, 3:12 AM
Hi,
Is any One know how to add Records to the Paging Memory Proxy Dynamically?.If you know help me.

Regards,
Shravan J

mitchellsimoens
3 Apr 2012, 12:19 PM
The PagingMemoryProxy only seems to support inline data during instantiation.

uptownben
1 May 2012, 1:18 AM
You can use .add() to add items to your memory store, but pagination may be an issue.

panbayi
9 Oct 2013, 5:56 AM
maybe you can add the record to your local dataset and call store.setProxy() to reset the proxy of you store


yourStore.setProxy({
type : 'pagingmemory',
data : yourNewData,
reader : {
// your reader config here
}
}