:: Forum >>

aw.ui.combo - setting visible scroll position in popup window to the selected item

I'm trying to find a method to cause the popup portion of a combo to automatically position the window with the selected item visible. Let's say I have an array of the alphabet loaded: "A","B","C"... "Z". setSelectedItem is set to 10 which corresponds to "J".

When I click on the combo control, the popup will always show A,B,C,D,E. If I MANUALLY scroll down, I can see that J is highlighted because I've set the CSS to highlight the selected item.

What I want AW to do is to automatically scroll the window so that J is appearing without the need to manually scroll. There must exist a method within getPopupTemplate() that will do this, but I've not found it.

Myshka
Thursday, April 23, 2009
http://www.activewidgets.com/javascript.forum.23331.2/scroll-error-on-2-5.html
Monday, April 27, 2009

This topic is archived.


Back to support forum

Forum search