GanttViewRangeSettingsBuilder

Methods

Start(System.DateTime)

If set to some date the timeline of the view will start from this date.Overrides the range.start option of the gantt.

Parameters

value - System.DateTime

The value that configures the start.

Example

Razor
 
            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Views(v => v.DayView(dv => dv.Range(r => r.Start(DateTime.Now))))
            )
             

End(System.DateTime)

If set to some date the timeline of the view will end to this date.Overrides the range.end option of the gantt.

Parameters

value - System.DateTime

The value that configures the end.

Example

Razor
 
            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Views(v => v.DayView(dv => dv.Range(r => r.End(DateTime.Now))))
            )
             
In this article
MethodsStart(System.DateTime)End(System.DateTime)
Not finding the help you need?
Contact Support