This seems to work ok, but I hate to write code that depends on
undocumented internals:
ListBox listbox = ...;
int index = ...;
SelectElement selectElement = SelectElement.as
(listbox.getElement());
OptionElement optionElement = selectElement.getOptions
().getItem(index);
optionElement.scrollIntoView();
Is that the "correct" approach?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---