Navigate CellTable with arrow keys

53 views
Skip to first unread message

Kevin Buikema

unread,
Nov 20, 2012, 3:54:18 PM11/20/12
to google-we...@googlegroups.com
I'm trying to come up with a way to navigate the elements of a CellTable with arrow keys, and while I can get the key events pretty easily, I'm not sure of a good way to move the focus from one Cell to another within the table.

Thomas Broyer

unread,
Nov 21, 2012, 6:11:15 AM11/21/12
to google-we...@googlegroups.com

On Tuesday, November 20, 2012 9:54:18 PM UTC+1, Kevin Buikema wrote:
I'm trying to come up with a way to navigate the elements of a CellTable with arrow keys, and while I can get the key events pretty easily, I'm not sure of a good way to move the focus from one Cell to another within the table.

Isn't that the default behavior?
Works for me in http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellSampler (use Enter to enter edit mode on a cell, then either Enter to commit or Escape to rollback, and in both cases switch back to navigation) 
Reply all
Reply to author
Forward
0 new messages