:: Forum >>

Combo scroll bar events (version 2.5.1)

Alex,

Hope you can help with this one. Trying to raise an event whenever the combo popup area is scrolled. In addition would like to be able to reset scrollbar position after a popupTemplate refresh.

Any thoughts ?

Thanks

Charles.
Charles Dean
Sunday, March 2, 2008
AW does not have any scroll events for list/combo controls. You have to work directly with underlying html elements and DOM onscroll event -

obj.getPopupTemplate().getContent("box").setEvent("onscroll", function(){
window.status = this.getContent("box").element().scrollTop;
});

The list control has inner 'box' element - this is where you should access scrollTop/scrollLeft properties and listen to onscroll event.
Alex (ActiveWidgets)
Monday, March 10, 2008

This topic is archived.


Back to support forum

Forum search