View Full Version : page gets blank when i call store.nextPage() function

15 Feb 2011, 11:09 AM
when i call store.nextPage() function, my list gets blank for a while until my request response comes back and then data is populated, how can i stop making the list blank

15 Feb 2011, 2:31 PM
Is there any sample code for test?

16 Feb 2011, 3:42 AM
i define my store like this

myStore = new Ext.data.Store({
proxy: {
type: 'ajax',
url : '/abc'

And then before onload function i do this

myStore.clearOnPageLoad = false;
foodList.bindStore(myStore); // binding my list here

And then on an event i call my function

var next_page = function(){

before any response comes back it shows my blank page and than data is populated
hope you know now, what i am trying to say