Wednesday, July 25, 2012

Re: Enter key to change the focus from one TextInputCell to another in a celltable.

It's called on all events in all cells, i.e. Blur, MouseOver, Click, etc. Just add a check for the type of event you want to process, like

if ("blur".equals(event.getNativeEvent().getType())) {
    // do something with a cell that loses focus
}
if ("focus".equals(event.getNativeEvent().getType())) {
    // do something with a cell that receives focus
}

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/-3DdvZ6VO2gJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment