4 Answers, 1 is accepted
0
Hello Lance,
I am afraid that currently setting the StartTime and EndTime in DayView functionality is not supported. What you could do is setting the ShowFullTime property to true in order to display all hours of the day.
I would also like to inform you that a new Range and SelectedDate functionalities for the RadGantt will be introduced in the new R3 2016 release which is due in September 2016.
Regards,
Peter Milchev
Telerik by Progress
I am afraid that currently setting the StartTime and EndTime in DayView functionality is not supported. What you could do is setting the ShowFullTime property to true in order to display all hours of the day.
I would also like to inform you that a new Range and SelectedDate functionalities for the RadGantt will be introduced in the new R3 2016 release which is due in September 2016.
Regards,
Peter Milchev
Telerik by Progress
0
Kasim
Top achievements
Rank 2
answered on 15 Mar 2018, 05:57 AM
Hi Peter,
Any update on the hours selection feature in the Gantt control?
0
Hello Kasim,
I am sharing the answer from the support ticket here for convenience and better visibility from the community.
There is a feature request in the Telerik AJAX Feedback and Ideas portal regarding the WorkDayStart and WorkDayEnd: Gantt Needs to consider working. You can subscribe it to get notified when there is any progress on it.
Meanwhile, the following workaround can be used. It relies on the API of the underlying Kendo UI Gantt. More information on the Kendo UI Gantt can be found here: https://docs.telerik.com/kendo-ui/api/javascript/ui/gantt#configuration
Regards,
Peter Milchev
Progress Telerik
I am sharing the answer from the support ticket here for convenience and better visibility from the community.
There is a feature request in the Telerik AJAX Feedback and Ideas portal regarding the WorkDayStart and WorkDayEnd: Gantt Needs to consider working. You can subscribe it to get notified when there is any progress on it.
Meanwhile, the following workaround can be used. It relies on the API of the underlying Kendo UI Gantt. More information on the Kendo UI Gantt can be found here: https://docs.telerik.com/kendo-ui/api/javascript/ui/gantt#configuration
<script type=
"text/javascript"
>
function
f() {
var
gantt = $find(
'<%= RadGantt1.ClientID%>'
);
if
(!gantt.get_showFullTime()) {
gantt._widget.options.workDayStart.setHours(7);
gantt._widget.options.workDayEnd.setHours(17);
gantt.repaint();
}
//Sys.Application.remove_load(f);
}
Sys.Application.add_load(f);
</script>
Regards,
Peter Milchev
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Kasim
Top achievements
Rank 2
answered on 21 Mar 2018, 05:17 AM
Thanks, Peter it was useful indeed.