Skip to content

Commit b2fae5a

Browse files
Scheduler: update Resolve Time Conflicts demo description based on final review (#33145)
1 parent 849adef commit b2fae5a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
This example prevents appointment time conflicts in DevExtreme Scheduler. Use the **Allow Overlapping Appointments** select-box to select a time conflict resolution mode.
1+
This example addresses appointment time conflicts when using the DevExtreme Scheduler. Use the **Allow Overlapping Appointments** select-box to select a desired time conflict resolution mode.
22
<!--split-->
33

44
### Detect Conflicts
55

6-
Handle the [onAppointmentAdding](/Documentation/ApiReference/UI_Components/dxScheduler/Configuration/#onAppointmentAdding) and [onAppointmentUpdating](/Documentation/ApiReference/UI_Components/dxScheduler/Configuration/#onAppointmentUpdating) events to check if a new or updated appointment creates a time conflict. Set `e.cancel = true` to block the operation if necessary.
6+
Handle the [onAppointmentAdding](/Documentation/ApiReference/UI_Components/dxScheduler/Configuration/#onAppointmentAdding) and [onAppointmentUpdating](/Documentation/ApiReference/UI_Components/dxScheduler/Configuration/#onAppointmentUpdating) events to check if a new or updated appointment creates a time conflict. Set `e.cancel = true` to block the operation when necessary.
77

8-
Call [getOccurrences](/Documentation/ApiReference/UI_Components/dxScheduler/Methods/#getOccurrences) to expand [recurring appointments](/Documentation/Guide/UI_Components/Scheduler/Appointments/Appointment_Types/#Recurring_Appointments) into individual occurrences within the target range. Check for overlapping time ranges.
8+
Call [getOccurrences](/Documentation/ApiReference/UI_Components/dxScheduler/Methods/#getOccurrences) to expand [recurring appointments](/Documentation/Guide/UI_Components/Scheduler/Appointments/Appointment_Types/#Recurring_Appointments) into individual occurrences within the target range. Check for overlapping time range values.
99

1010
### Conflict Detection Modes
1111

12-
The demo supports two modes:
12+
The demo implements the following detection modes:
1313

1414
- **Different Resources**: appointments assigned to different resources (assignees) can overlap.
1515
- **Never**: overlapping appointments are not allowed, regardless of resource assignment.
@@ -18,9 +18,9 @@ To implement resource-aware checks, access appointments and compare their `assig
1818

1919
### Display Errors
2020

21-
When a conflict is detected, the demo displays the error in the following ways:
21+
When a conflict is detected, the demo displays the error as follows:
2222

2323
- A message box.
2424
- An inline validation message (if an appointment edit form is active).
2525

26-
To display inline validation, configure a custom form item inside [editing.form](/Documentation/ApiReference/UI_Components/dxScheduler/Configuration/editing/form/) and use the `customizeItem` function to attach custom `validationRules` to the time editors.
26+
To display inline validation, configure a custom form item inside [editing.form](/Documentation/ApiReference/UI_Components/dxScheduler/Configuration/editing/form/) and use the `customizeItem` function to attach custom `validationRules` to time editors.

0 commit comments

Comments
 (0)