Well, I tried the link above with the and it didn't fix my problem. I debugged in guaranteeRange further and found that after onProxyPrefetch calls operation.getRecords, records is "undefined", so when it calls cacheRecords, it bombs when it tries length = records.length.

So, I must have something configured wrong. I'm looking further into this, but if anyone has any suggestions, suggest away.

SOLVED: infinite-scrolling and buffer-grid examples and reloading with different data

I got it to work. I coded a small sample of my larger project and got it to work. The main key besides doing what rspaeth did, was to make sure to set the store.totalCount before doing the guaranteeRange. I wasn't doing this before. I had it after it.

now I just need to figure out why my larger project still doesn't work, but at least i have somewhere to start.

I got it to work. I coded a small sample of my larger project and got it to work. The main key besides doing what rspaeth did, was to make sure to set the store.totalCount before doing the guaranteeRange. I wasn't doing this before. I had it after it.

now I just need to figure out why my larger project still doesn't work, but at least i have somewhere to start.

Do you have any update on this?
If you just want to 'reload' a new set of data on param changes or such, can just clear the prefetchedData and call 'prefetchPage(1)'. This would not require you to know the new 'totalCount' which seems to be necessary to make the subsequent guaranteeRange call to work.