Question

I'm using a store to load data into a dataview tpl. The desired behavior is when user scrolls down to bottom, new records are loaded while previous remain there.

I've Already Tried This: How to load additional records into the store/keep previous while loading new ones

But the above mentioned solution is not working for me as i'm trying to use it in ExtJS 3. Is there any solution for ExtJS 3.4?

NB: I'm loading store every time user scrolls down to bottom by store.load();

Was it helpful?

Solution

check store.load method's add param, which is Indicator to append loaded records rather than replace the current cache. e.g.store.load({add:true})

refer docs

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top