3.0.0

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
March 21,
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
March 21,
You have to disable mousewheel event handler on the scroll template -

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

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.