Rosi,
Thanks for the reply.
I'm a little confused by this test ...
if (panelbar1.get_allItems()[i].set_selected(true))
TBH, I'm a bit confused by the need for the loop too.
Why couldn't you just say...
var myitem = panelbar1.get_selectedItem(); |
myitem.get_linkElement().scrollIntoView(true); |
?
--
Stuart