I have created a TextBox that we'll call txtFocus.
An anonymous listener is bound to txtFocus like so:
txtFocus.addKeyDownHandler(new KeyDownHandler() {
public void onKeyDown(KeyDownEvent keyDownEvent) {
if (keyDownEvent.getNativeKeyCode() == KeyCodes.KEY_TAB) {
keyDownEvent.preventDefault();
keyDownEvent.stopPropagation();
moveTxtFocus();
}
}
}
My problem is that In IE (I am testing with 8), hitting the "Tab" key
moves focus around the screen.
When the focus is on the FlexTable, and the user hits the "Tab" key, I
want the focused cell to move around just like in a Google Docs
spreadsheet.
Any ideas on how to accomplish this?
--
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.