Combo popup scroll

I have a combo and i implemented autocomplete on it. Now I have a variable holding the index of the found item. What I want to do is to have the popup stay visible (i reopen it after every search [every character typed] ) and have the list scroll to the found index.

I just can't figure it out. I tried using setViewOffset with the index and it does work kind of. However it restricts the lsit from that index downwards only, meaning that i can't manually scroll back up if I wanted to. There is another method called setViewPosition, but it doesn't seem to work/do anything. Can anyone shed some light on this?

Thanks :)
Cedric Mamo
July 4,
I did find other posts asking how to do this but they weren't answered. Please if anyone knows how to do this respond.
Cedric Mamo
July 4,
Oh and by the way the page is to be loaded on internet explorer.

I've been going through the source code, and it seems that on IE it uses the popup object. But I can't figure out how to scroll in the popup. In a normal page you can usually scroll by doing document.body.scrollTop=x;

I tried referencing that popup object and doing popup.document.body.scrollTop=x but it doesn't work :S
Cedric Mamo
July 6,

This topic is archived.

See also:

Back to support forum