SchedulerViewBuilder.GroupByDate(JS) Method
In This Article
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
C#
public SchedulerViewBuilder GroupByDate(
JS value
)
#Parameters
Name | Type | Description |
---|---|---|
value | JS | A Java |
#Returns
Type | Description |
---|---|
Scheduler |
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