View Full Version : Webpage scrolling while on top of Grid Body (Is it possible?)
rightondev
16 Aug 2007, 6:32 AM
I'd really like users of my application to be able to scroll down the webpage even when their mouse is on top of a grid body - is there a way to do this? Has anyone done it out there?
rightondev
16 Aug 2007, 7:23 AM
There's no conventional way to do this, but the following line will do the job:
Ext.grid.GridView.prototype.handleWheel = function() { };
Note, that this will affect all Grids used and that a better way to accomplish this would be to subclass Grid into FlatGrid and alter the GridView prototype in there.
khrysller
17 Aug 2007, 10:31 AM
WOW
Amazing... dude.. i was looking for this for a LONG LONG time... i was almost giving up ExtJS 'cause this.
I really appreciate your help dude.
Huggs : )
rightondev
17 Aug 2007, 10:41 AM
No problem, it was certainly a bit of a challenge to get the grid to function the way I wanted it too.
Oh, by the way, Ext 2.0 seems to no longer have this problem though, so soon enough you won't even have to apply this line.
I've got a related issue I've been trying to solve over here:
http://extjs.com/forum/showthread.php?t=11376
If anyone can help me with that, it'd be much appreciated.
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.