moveSelection
moves selection in the specified direction
void moveSelection(string direction);
direction | string | the move direction |
Example
$$("calendar").moveSelection("top");
Details
The method doesn't work for calendars in the DateRange widget.
The method can take only one value from the predefined set.
The predefined values are:
- "top" - the selection is moved to the first day of the current month
- "bottom" - the selection is moved to the last day of the current month
- "up" - the selection is moved to the previous week from the current date
- "down" - the selection is moved to the next week from the current date
- "left" - the selection is moved to the previous day from the current date
- "right" - the selection is moved to the next day from the current date
- "pgup" - the selection is moved to the same day of the previous month
- "pgdown" - the selection is moved to the same day of the next month
See also
Back to top