Skip to main content

SmartSyncOptions.GroupType Property

Gets or sets the grouping used for creating report pages if the SchedulerPrintAdapter.EnableSmartSync option is switched on.

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v23.2.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

[DefaultValue(SchedulerGroupType.Resource)]
public SchedulerGroupType GroupType { get; set; }

Property Value

Type Default Description
SchedulerGroupType Resource

A SchedulerGroupType enumeration member specifying the grouping for the SmartSync printing.

Available values:

Name Description
None

No grouping is applied.

Date

Grouping by dates. Appointments are grouped by dates.

Resource

Grouping by resources. Appointments are grouped by resources.

Remarks

If the GroupType is set to the SchedulerGroupType.Resource, the report starts with the first resource for all dates from the SchedulerPrintAdapter.TimeInterval, then goes to the next resource and so on.

If the GroupType is set to the SchedulerGroupType.Date, the report starts with the first date from the SchedulerPrintAdapter.TimeInterval for all available resources, then goes to the next date and so on.

Note

You can filter resources passed to the report by handling the SchedulerPrintAdapter.ValidateResources event.

Implements

See Also