Skip to main content
API

SchedulerViewBuilder.GroupByDate(JS) 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(
    JS value
)

Parameters

Name Type Description
value JS

A JavaScript expression that specifies the option value.

Returns

Type Description
SchedulerViewBuilder

A reference to this instance after the method is called.

Remarks

Use the new JS() expression to set the option’s value.

<script>
    var myValue = ...;
</script>

@(Html.DevExtreme().Scheduler()
    .Views(views => {
        views.Add().GroupByDate(new JS("myValue"));
    })
)
See Also