How to force selection in a SuggestBox?

66 views
Skip to first unread message

el_zako

unread,
Apr 24, 2011, 12:45:25 AM4/24/11
to Google Web Toolkit
I'm looking to implement a use case such that, as the user types in
the SuggestBox, I would be able to obtain the first item in the list.
This item would be dynamic (and would be shown in a seperate box), it
will keep changing as the user types in more characters. The
SuggestBox also need not display suggestions, just force the selection
of the first item.

Looking at the source code, I'm thinking I need to subclass my own
SuggestionDisplay. Not too sure how to do this though, I'm new to GWT.
Any ideas would be appreciated.
Reply all
Reply to author
Forward
0 new messages