Back to Devexpress

SchedulerSettings.GroupType Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-schedulersettings-8a2fd19e.md

latest4.1 KB
Original Source

SchedulerSettings.GroupType Property

Gets or sets a value that specifies the type of grouping for the appointments.

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public SchedulerGroupType GroupType { get; set; }
vb
Public Property GroupType As SchedulerGroupType

Property Value

TypeDescription
SchedulerGroupType

A SchedulerGroupType enumeration value that specifies how appointments are grouped within the scheduler control.

|

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

The GroupType property setting can be superseded with the SchedulerViewBase.GroupType property value for a particular View.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GroupType property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

how-to-customize-the-appointment-dialog-using-view-model-api-working-with-custom-fields-t582020/CS/DevExpressMvcApplication1/Models/SchedulerDataHelper.cs#L114

csharp
settings.Storage.EnableReminders = true;
settings.GroupType = SchedulerGroupType.Resource;
settings.Views.DayView.Styles.ScrollAreaHeight = 400;

asp-net-mvc-scheduler-use-checkboxlist-to-filter-resources/CS/Code/SchedulerHelper.cs#L27

csharp
settings.GroupType = SchedulerGroupType.Resource;
settings.ActiveViewType = SchedulerViewType.Timeline;

how-to-customize-the-appointment-dialog-using-view-model-api-working-with-custom-fields-t582020/VB/DevExpressMvcApplication1/Models/SchedulerDataHelper.vb#L119

vb
settings.Storage.EnableReminders = True
settings.GroupType = SchedulerGroupType.Resource
settings.Views.DayView.Styles.ScrollAreaHeight = 400

asp-net-mvc-scheduler-use-checkboxlist-to-filter-resources/VB/Code/SchedulerHelper.vb#L32

vb
settings.GroupType = SchedulerGroupType.Resource
settings.ActiveViewType = SchedulerViewType.Timeline

See Also

GroupType

SchedulerSettings Class

SchedulerSettings Members

DevExpress.Web.Mvc Namespace