gelgey
23 Feb 2009, 2:35 PM
I want to display possibly thousands of objects in a grid, but not load all the objects into client at once.
I see the paging grid model at http://extjs.com/explorer/#paging, but I am wondering if that is my only option.
Is there a way to scroll within a grid, with data fetched dynamically as required? So for example the grid store maintains a cache of (say) 200 objects, with 50 visible at any time, and as the user scrolls the next or previous 200 objects are fetched from the server?
There are drawbacks to such an approach, of course, but I'd like to see how it works to decide if that should be used in preference to paging.
Geoff
I see the paging grid model at http://extjs.com/explorer/#paging, but I am wondering if that is my only option.
Is there a way to scroll within a grid, with data fetched dynamically as required? So for example the grid store maintains a cache of (say) 200 objects, with 50 visible at any time, and as the user scrolls the next or previous 200 objects are fetched from the server?
There are drawbacks to such an approach, of course, but I'd like to see how it works to decide if that should be used in preference to paging.
Geoff