View Full Version : Virtual Scrolling in Grid
thesilentman
6 May 2007, 2:48 AM
Hello Jack,
I was thinking that virtual scrolling like in this grid: http://www.turboajax.com or http://www.activewidgets.com/javascript.forum.19075.4/grid-scrolling-in-virtual-mode.htm, would be a nice enhancement to extjs's grid, since grids of such types are getting more and more popular as well as more comfortable to the end user than the paging ones.
This has been requested several times before, but I would love to see this too ;)
tryanDLS
7 May 2007, 8:17 AM
I don't know if this is on the radar or not. I would think you might be able to implement this in with the current grid. If you could add a handler for the scroll event, you could check if you were at the bottom. Then issue a store.reload() with the flag set to true to append data. Not sure if this would cause a repaint of the entire grid - have to dig a little further.
thesilentman
7 May 2007, 8:33 AM
Hmm, if id doesn't repaint the whole grid it would be possible but still on the other frameworks' virtual scrolling grids there is lot's of stuff with caching etc... I wouldn't want to write all this. After all I am only a JS Beginner and at this point I don't have the time to learn and write all this background stuff :). I guess Jack, with all his backround with JS and ext, would be able to write such code in zero time while me and Javascript are not so familiar, if you know what I mean ;)
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.