Need help with Data Presentation Widget selection concepts

13 views
Skip to first unread message

David Pinn

unread,
May 19, 2011, 4:30:11 AM5/19/11
to Google Web Toolkit
Let me see if I understand this correctly.

a) The Data Presentation Widgets have two notions of item selection:
the selected item (SI), and the keyboard selected item (KSI).
b) Application code can set the SI via the selection model;
application code cannot set the KSI.
c) You can make the SI a slave of the KSI by setting the keyboard
selection policy to BOUND_TO_SELECTION.
d) The cell with focus is determined by the KSI.

Why the two concepts?

I think this all means that I can't programmatically set the focus on
a particular item in the widget. Is that the case? If so, major
bummer! I'd like my app to set the current row such that subsequent
keyboard events affect that row.
Reply all
Reply to author
Forward
0 new messages