As @Stole mentioned, use isSuggestionListShowing() of the SuggestBox in
KeyDownHandler instead of KeyUpHandler and move your existing from KeyUp to
KeyDowm. Because onSelection will trigger before onKeyUp but after
onKeyDown
mySuggestBoxObject.addKeyDownHandler(new
Forget to attach url:
http://www.holidayinn.com/hotels/us/en/home
See whether it is what you need.
On Dec 23, 11:49 am, Michael W mwang_2...@yahoo.com wrote:
Can you check following whether it is what you need?
If yes, I will post our solution here.
On Dec 22, 6:35 am, ss.require
Have you tried checking isSuggestionListShowing() of the SuggestBox in
the KeyUpHandler. If the method returns true You could skip processing
the event. I haven't tried it but it could work.
On Dec 22, 12:35 pm, ss.require ss.requ...@gmail.com wrote:
Hi there!
If I select an option in the
Can you check following whether it is what you need?
If yes, I will post our solution here.
On Dec 22, 6:35 am, ss.require ss.requ...@gmail.com wrote:
Hi there!
If I select an option in the SuggestBox popup by pressing the enter
key then onKeyUp event fire. But I don't want that it happens
I had the same requirement and ended up writing my own SuggestBox
( started from the code of gwt suggestbox ).
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To
Hi there!
If I select an option in the SuggestBox popup by pressing the enter
key then onKeyUp event fire. But I don't want that it happens because
I already handle pressing the enter on the textbox by executing
another code. My code below:
suggestBox.addSelectionHandler(new