SchedulerGroupBuilder

Methods

Resources(System.String[])

Sets the resources by which the scheduler will be grouped.

Parameters

names - System.String[]

The names of the resources

Example

Razor
 
            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                 .Group(g=>g.Resources("name1", "name2"))
            )
             

Date(System.Boolean)

Sets grouping by date.

Parameters

date - System.Boolean

The grouping by date

Example

Razor
 
            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                 .Group(g=>g.Date(true))
            )
             

Orientation(Kendo.Mvc.UI.SchedulerGroupOrientation)

The orientation of the group headers.

Parameters

value - SchedulerGroupOrientation

The orientation

Example

Razor
 
            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                 .Group(g=>g.Orientation(SchedulerGroupOrientation.Default))
            )