3.2.0

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
March 2,
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)
March 10,

This topic is archived.

See also:


Back to support forum