Something like this with GWT 1.6:
MultiWordSuggestOracle oracle = new MultiWordSuggestOracle();
oracle.add(foo);
oracle.add(bar);
oracle.add(asdf);
CollectionString defaults = new ArrayListString();
defaults.add(foo);
defaults.add(bar);
oracle.setDefaultSuggestionsFromText(defaults);
final
Alex,
You don't need to click for the list to appear. Just type part of the
search text in the box, the list of corresponding items should appear
(if the limit is respected, I think default value is 20).
You scroll to or click one of those items to select. Your
SelectionHandler then processes
Sorry,I just need this effect,I mean,when suggest box get focus,show
suggestion list immediately.
wouter a écrit :
Alex,
You don't need to click for the list to appear. Just type part of the
search text in the box, the list of corresponding items should appear
(if the limit is respected, I
I tried to get it work:
suggestBox.getTextBox().addClickHandler(new ClickHandler(){
suggestBox.showSuggestionTionList();
});
But failed.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
Hi Alex,
Check the source code of the suggest box example that comes in the
Showcase application included in the samples bundled with the gwt
distribution.
Best regards,
Roshan.
On May 31, 2:01 pm, Alex Luya alexander.l...@gmail.com wrote:
I tried to get it work:
Yes,I have,but only got some usefulness info:
Roshan a écrit :
Hi Alex,
Check the source code of the suggest box example that comes in the
Showcase application included in the samples bundled with the gwt
distribution.
Best regards,
Roshan.
On May 31, 2:01 pm, Alex Luya