3.2.0

Pre-selecting the first row ...

I want to be able to pre-select the first row in a grid, as if the user had just clicked on it. This is so that my app can be driven from the keyboard - the user then just uses cursor up and down to select an item. At present you need to resort to the mouse to select an item in the grid first.
DaveM
August 22,
http://activewidgets.com/javascript.forum.1119.4/how-do-i-execute-clicking.html
August 22,
And for preselection add this line before "document.write(obj);"

obj.setSelectionIndex(0);
August 22,
Works a treat once I add a .focus() as well as a .click().

Thanks.
DaveM
August 22,

This topic is archived.

See also:


Back to support forum