Hello,
I am implementing a suggest box in GWT 2.0.3 using a text box and table. (I
know there is a SuggestBox class, but current release of GWT does not let me
specify my own display for suggestions)
I have a blur handler on the textbox that does:
myTextBox.addBlurHandler(new BlurHandler()
{
public void onBlur(BlurEvent blurEvent)
{
myTable.setVisible(false);
}
});
myTable is the data table to hold all the suggestion rows, and this is
shown/hidden. The above code will hide the suggestions pop-up (myTable) when
focus on the textbox is lost.
Unfortunately, blur is fired on clicking on the myTable itself to select a
row from the table. So the click on myTable is never captured.
How do i get the click event on the table before the blur is fired?
Is there a generic way to solve these problem?
Any pointers would be highly appreciated.
Thanks,
Subhro.
--
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.