|
|
|
|
|
- Overview
- Control found in a window, page or report
- Creating a Scheduler control (window and page editor)
- Describing a scheduler (window and page editor)
- The control options (window editor and page editor)
- Context menu proposed automatically
- Modes for filling a Scheduler control
Control found in a window, page or report The Scheduler control is used to automatically display and handle schedules. It is used to manage the display of multiple resources and it is used in several applications or sites. The display is performed: - on a daily, weekly or montly basis,
on 6 months or on 1 year.
The time slot, the first day of the week and the number of days to display can be configured. These parameters can be easily defined in the control description window. Creating a Scheduler control (window and page editor) To create a Scheduler control: - On the "Creation" tab, in the "Graphic controls" group, expand "Time" and select "Scheduler".
- Click where the control will be created in the window or page.
The Scheduler control creation wizard starts. Answer the questions and validate. - The control appears in the editor.
Note: The dimensions of the field created are optimized to occupy the space available at the position indicated.. If the field size doesn't suit you, use the Ctrl + Z key combination: the field will return to its default size.To view the characteristics of the control, select "Description" in the context menu. Describing a scheduler (window and page editor) The control options (window editor and page editor) The Scheduler control can be customized in the editor, via the description window. The "Details" tab of the Scheduler control contains the following settings: - With buttons to change the time range Dequeue: This option displays buttons so that the user can dequeue the different periods of the schedule. These buttons are displayed at the top left of schedule.
Display: By default, display is by month, with displacement and duration granularity of one day.. When clicking the display options, a window is opened, allowing you to define the different display options:
It is possible to define the following elements: - Total schedule range: day, week (5 or 7 days), according to the number of appointments, according to the number of days, 6 months, one year.
- Granularity of appointments: Corresponds the display precision of schedule. Appointments can start on a multiple of XX minutes, hours, ... and have a duration multiple of XX minutes, hours, etc.. The arrow button is used to enter preset values. The lock is used to link (or not) the values.
- Range viewed: The range viewed is calculated from the control size in the editor. By entering the range to view, you get the minimum dimension of the element according to the selected unit.
- When validating this window, the selected characteristics are summarized in the control description window.
- Resource display mode: By default, resources are displayed online.
They can also be displayed by columns. - Time display: Allows you to define:
- the format of the date displayed for the "day" columns (or rows) of the scheduler.
- whether the time must be displayed or not in the control.
- the format of the time displayed for the "day" columns (or rows) of scheduler.
- whether the week number must be displayed or not, as well as its format. In the format, the '%1' string corresponds to the week number. Example format: "Sem. %1".
- Time range: Allows you to define:
- Visible time range Time range to be displayed in the.
- the working time range: Time range for which an appointment can be defined.
To define specific time slots, use SchedulerWorkingHour and SchedulerWorkingHourResource. - Appointment: Allows you to specify appointment characteristics:
Overlapping: Managing overlapping appointments. The appointments can be displayed side by side or slightly shifted. Continuous display if several days: Displays a multi-day appointment as a single appointment. If this option is unchecked, the appointments on several days will correspond to as many appointments as the number of days.
- Other parameters:
Allow time range selection: Allows the user to select a period with the mouse. - Allow direct input of an appointment: Allows the user to directly add an appointment.
To do so, click the Scheduler control to create the appointment and enter its caption via the keyboard.
Display and allow the appointments for the entire day: Indicates that an appointment can correspond to an entire day.. In this case, a specific area is displayed in the Scheduler control. This area is used to enter the daily appointments.
You can specify the height of the area. Examples: - if the schedule is displayed with the resources in rows:
In WINDEV:
- if the schedule is displayed with the resources in columns:
In WINDEV:
The edit options via the mouse are as follows: Change duration. You can allow or prevent users from changing the duration of appointments. - Move. You can allow or prevent users from moving appointments.
Allow users to change resources. If this option is checked, users will be able to move appointments and associate them with different resources. Allow users to overlap elements. If this option is checked, when moving appointments, the user will be able to make them overlap. In this case, the options defined for overlapping appointments (offset or side by side) will be taken into account.
The zone size options are as follows: if the resources are displayed by rows: - Minimum height of a resource.
- Width of the resource header.
if the resources are displayed by columns: - Minimum width of the resource.
- Height of the break (for changing day)
Most of these parameters can be modified programmatically. For more details, see Scheduler control properties. Modes for filling a Scheduler control
Related Examples:
|
Complete examples (WINDEV): WD Schedule
[ + ] This example presents the management of a graphic schedule. The following topics are presented in this example: 1/ the scheduler control 2/ the Google Calendar functions
|
|
Unit examples (WEBDEV): The Scheduler control
[ + ] This example explains how to use the Scheduler control. Two uses are presented: - Filling the schedule by programming, - Filling the schedule by databinding from a code variable.
|
|
Complete examples (WEBDEV): WW_Schedule
[ + ] This example is used to dynamically display the tasks of the different contributors. You have the ability to add, modify or delete tasks by clicking the schedule elements. All the operations are performed via AJAX. This example is also used to move a control by programming.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|