Navigate Time Cells and Dates
- 2 minutes to read
- Clicking a time cell moves focus to the clicked cell and selects it.
To facilitate navigation, a View Navigator control is implemented. It is illustrated in the picture below:
The forward and backward arrows change the visible interval of the scheduler. It is incremented (or decremented) by a displayed time frame.
The DateNavigator control is designed specifically for the date navigation and selection task. It is shown in the folllowing picture:
End-users can select either a particular date, or a range of dates by means of the DateNavigator control. Selecting dates using the DateNavigator control results in displaying them by the SchedulerControl, to which it is linked.
Action Effect Click any date in the DateNavigator calendar. One day becomes selected, and the SchedulerControl displays it using the Day View. If the currently active view is of another type, it is automatically changed to Day View. The only exception is the Work Week View. In this instance, the entire work week is selected. Click and drag across the DateNavigator calendar. The continuous range of dates is selected. The SchedulerControl adjusts the currently active view to display the selected range of dates. If the selection is smaller than a week, the view type is switched to Day View. A week-long range is displayed using the Scheduler’s Full Week View. If the range is more than a week, then the Month View is used. Hold down the CTRL key and click several dates. A set of dates is selected. The SchedulerControl displays it using the Day View, irrespective of the size of the selected range.
The popup (context) menu provides the capability to navigate to a particular date:
If the Go to Date… menu item is selected, a GotoDate form is invoked:
It enables you to select the date and the view to which the scheduler switches to display a date.