Add custom text and 24 hour time display when resizing event

2 posts, 0 answers
  1. Mary
    Mary avatar
    1 posts
    Member since:
    Jun 2019

    Posted 27 Sep 2019 Link to this post

    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?

  2. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    1201 posts

    Posted 01 Oct 2019 Link to this post

    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.
Back to Top