moveSelection
moves selection in the specified direction
void moveSelection(string direction);
direction | string | the move direction |
Example
$$("list").moveSelection("top");
Details
The method can take only one of a predefined set of values.
The predefined values are:
- 'top' - the selection is moved to the first item of the tree
- 'bottom' - the selection is moved to the last item of the tree
- 'up' - the selection is moved one item up
- 'down' - the selection is moved one item down
- 'pgup' - the selection is moved to the first item of the previous page (a page is the currently visible tree)
- 'pgdown' - the selection is moved to the first item of the next page (a page is the currently visible tree)
See also
Back to top