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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.