How to remove time from Date fields in Task Popup of Kendo jQuery Gantt

1 Answer 80 Views
Date/Time Pickers Gantt
Abhishek
Top achievements
Rank 1
Iron
Abhishek asked on 02 Jun 2023, 02:26 PM

Hi, I need help in Kendo jQuery Gantt, I managed to remove time from Grid columns but how can I remove Time from Planned Start, Planned End, Actual Start, and Actual End fields? I only need date to be selected from the picker and to show in dd/M/yyyy format.

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin
Telerik team
answered on 07 Jun 2023, 09:35 AM

Hello, Abhishek,

You can use the edit event of the Gantt to get a reference of the DateTimePickers. You can then use the setOptions method to change the format configuration as desired. Here is a small example for reference.

Let me know if you have any further questions.

Regards,
Martin
Progress Telerik

As of R2 2023, the default icon type will be SVG instead of Font. See this blogpost for more information.
Abhishek
Top achievements
Rank 1
Iron
commented on 04 Nov 2023, 01:04 AM

Thanks Martin for the response.

I am able to hide the time now but when I changed the date format to d/M/yyyy it gives me error if date is greater than 12.

Also can I disable or replace datetimepickers with labels as I don't want user to update dates from pop-up, they can only update from Grid.

 

Martin
Telerik team
commented on 08 Nov 2023, 01:21 PM

Hello, Abhishek,

The behaviour is due to a known bug described here. A fix will be available in the upcoming release next week.

Tags
Date/Time Pickers Gantt
Asked by
Abhishek
Top achievements
Rank 1
Iron
Answers by
Martin
Telerik team
Share this question
or