How to: Group Appointments by Resources or Dates
If appointments which are managed by a scheduler control are assigned to some resources, then it’s possible to group these appointments within the scheduling area.
The following example demonstrates how to group a scheduler’s data. To group data in a scheduler by dates or resources you should simply set the SchedulerControl.GroupType property to an appropriate value of the SchedulerGroupType type. The code below shows how this can be done.
using DevExpress.XtraScheduler; // ... // Disable data grouping. schedulerControl1.GroupType = SchedulerGroupType.None; // Group data by dates. schedulerControl1.GroupType = SchedulerGroupType.Date; // Group data by resources. schedulerControl1.GroupType = SchedulerGroupType.Resource;