New to Telerik UI for ASP.NET MVC? Download free 30-day trial

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


            @(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


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

In this article
Not finding the help you need?