This is frustrating because it ought to be trivial, and I'm finding it
impossible. Basically, I want to make my typeahead logic mesh
smoothly with up/down arrows, so if a CellList contains 1000 names and
the user types J, O, N, E, S, down-arrow, he should land on the first
name after JONES in the list. The idea is that each letter selects
the appropriate name, scrolls the list as necessary, and updates both
the selection and the keyboard selection. The problem is that this
always reports that the keyboard selected row is 0, no matter what I
try to change it to, so when the user hits down-arrow, he ends up at
row 1:
myCellList.setKeyboardSelected(index, true, true);
Log.log("getKeyboardSelected " + myCellList.getKeyboardSelectedRow());
http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/user/cellview/client/CellList.html#setKeyboardSelected(int,%20boolean,%20boolean)
http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/user/cellview/client/AbstractHasData.html#getKeyboardSelectedRow()
Previous report + open bug:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/6b0288e100d1fa11/6604bf1a6297161c
http://code.google.com/p/google-web-toolkit/issues/detail?id=6310
Is there any magic incantation that might cause this to work?
--
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.