Back to Devexpress

SmartSyncOptions.GroupType Property

corelibraries-devexpress-dot-xtrascheduler-dot-reporting-dot-smartsyncoptions.md

latest2.9 KB
Original Source

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.v25.2.Core.Desktop.dll

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
[DefaultValue(SchedulerGroupType.Resource)]
public SchedulerGroupType GroupType { get; set; }
vb
<DefaultValue(SchedulerGroupType.Resource)>
Public Property GroupType As SchedulerGroupType

Property Value

TypeDefaultDescription
SchedulerGroupTypeResource

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

|

Available values:

NameDescription
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

GroupType

See Also

SmartSyncOptions Class

SmartSyncOptions Members

DevExpress.XtraScheduler.Reporting Namespace