3.2.0

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
April 23,
http://www.activewidgets.com/javascript.forum.23331.2/scroll-error-on-2-5.html
April 27,

This topic is archived.

See also:


Back to support forum