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

GanttRangeSettingsBuilder

Methods

Start(System.DateTime)

If set to some date the timeline of all views will start from this date.

Parameters

value - System.DateTime

The value that configures the start.

Example


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

End(System.DateTime)

If set to some date the timeline of all views will end to this date.

Parameters

value - System.DateTime

The value that configures the end.

Example


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

In this article
Not finding the help you need?