This is a migrated thread and some comments may be shown as answers.
Add custom text and 24 hour time display when resizing event
1 Answer 9 Views
This is a migrated thread and some comments may be shown as answers.
Mary
Top achievements
Rank 1
Mary asked on 27 Sep 2019, 01:28 PM

Hi

I need to changes the time format displayed when resizing an event to 24 hour and add custom text that changes as the event resizes.  

Does the scheduler support this?

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 01 Oct 2019, 09:55 AM

Hello Mary,

I am afraid that the Scheduler widget would not allow you to define a template for the resize visualization. Having that said, in order to display a 24 hours clock, I would suggest you use a Kendo culture which has that format as its default. For example, the en-GB culture is such:

<script src="https://kendo.cdn.telerik.com/2019.3.917/js/cultures/kendo.culture.en-GB.min.js"></script>

and:

kendo.culture("en-GB");

As per the custom text, that could not be added to the resize element.

Here you will find a Dojo sample implementing the above. Keep in mind that the change of the culture may also affect other parts of the Kendo widgets.

Regards,
Veselin Tsvetanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Asked by
Mary
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or