:: Forum >>

Enabling "whole page" scrolling...

Anyone,

I have disabled scrolling in my grid (on purpose). Yet, when the mouse is over the grid, the scroll wheel does not scroll the entire page in which the grid is embedded. Its like scroll events for the window are captured and then tossed out.

I am using Alex's code to disable grid scrolling:

obj.setScrollBars("none");
obj.onScrollBarsChanging = function(){return 1}; // cancel change

Could it be that onScrollBarsChanging to be set to something else?

Thanks for any info...
Ken Whittington
Friday, March 21, 2008
What you did is correct but you are also right in that the scroll events need to be disabled too.

Have a look at -
http://www.activewidgets.com/aw.scroll.bars/
for the event handlers.
Anthony
Friday, March 21, 2008
You have to disable mousewheel event handler on the scroll template -

obj.getScrollTemplate().setEvent(!AW.gecko ? "onmousewheel" : "onDOMMouseScroll", null);
Alex (ActiveWidgets)
Tuesday, March 25, 2008

This topic is archived.


Back to support forum

Forum search