Thursday, May 31, 2012

Re: how to use AbstractHasData.setFocus?

Have you tried deferring the call to setFocus? (using Scheduler#scheduleDeferred)

On Thursday, May 31, 2012 9:57:52 AM UTC+2, tong123123 wrote:
the upperpart of the resut.png is a celltable table, the table use a singleselectionmodel.
singleSelectionModel.setSelected(logs.get(0), true);

when the resut.png is shown, the first row is really selected, by then when I try to use keyboard upper arrow or down arrow key to select record, the CellTable has no response although I already setFocus to it!!
I found that I must use the mouse to select the record in CellTable first, then the keyboard upper arrow or down arrow key can be used to select recrod, why?

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment