Skip to main content

SchedulerViewBuilder.GroupByDate(Boolean) Method

If true, appointments are grouped by date first and then by resource; opposite if false. Applies only if appointments are grouped and groupOrientation is 'horizontal'. Mirrors the client-side groupByDate option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public SchedulerViewBuilder GroupByDate(
    bool value
)

Parameters

Name Type Description
value Boolean

The option value.

Returns

Type Description
SchedulerViewBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().Scheduler()
    .Views(views => {
        views.Add().GroupByDate(true);
    })
)
See Also