need to change the header format in week view

3 posts, 0 answers
  1. Konstantin
    Konstantin avatar
    39 posts
    Member since:
    Mar 2018

    Posted 04 Apr 2019 Link to this post

    Hello,

    I need to change the header format in week view

    I found that is hardcoded, but it diffrent for localizations

    DATA_HEADER_TEMPLATE = kendo.template('<span class=\'k-link k-nav-day\'>#=kendo.toString(date, \'ddd M/dd\')#</span>')

    nobody understand that first digit is it a month

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    2104 posts

    Posted 05 Apr 2019 Link to this post

    Hello Konstantin,

    Try the following dateHeaderTemplate:
    kendo.template("<span class=\'k-link k-nav-day\'>#=kendo.toString(date, \'ddd dd MMMM\')#</span>")

    Dojo example.


    Regards,
    Ivan Danchev
    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.
  3. Konstantin
    Konstantin avatar
    39 posts
    Member since:
    Mar 2018

    Posted 07 Apr 2019 Link to this post

    Thanks
Back to Top