Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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;
See Also