Add dates above scheduler

4 posts, 1 answers
  1. Max
    Max avatar
    5 posts
    Member since:
    Mar 2016

    Posted 04 Mar Link to this post

    Hey everyone,

     

    I'm currently working on this http://dojo.telerik.com/IMELI and I would like to have a date above every day of the month.

    I tried to look into other schedulers where there is one in it, but I wasn't able to find it.

     

    Thanks in advance.

     

    Greetings,

    Max

  2. Max
    Max avatar
    5 posts
    Member since:
    Mar 2016

    Posted 04 Mar in reply to Max Link to this post

    I found out that I had a function to remove the time row that is also placed there. I didn't know it also removed the date row.

    Now I need to find out how to keep the dates and only remove the time. I edited the HTML with F12 DOM Explorer and added a style="display: none" to it. That doesn't save though.

  3. Kendo UI is VS 2017 Ready
  4. Answer
    Rosen
    Admin
    Rosen avatar
    3234 posts

    Posted 08 Mar Link to this post

    Hello Max,

    You could achieve this via JavaScript hiding the correct elements, similar to the following:

    dataBound: function() {            
      this.wrapper
        .find(".k-scheduler-header-wrap tr:eq(1), .k-scheduler-times tr:eq(1)")
        .hide();
    }

    Regards,
    Rosen
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  5. Max
    Max avatar
    5 posts
    Member since:
    Mar 2016

    Posted 14 Mar in reply to Rosen Link to this post

    Thank you!

    That worked out well.

     

    Greetings,

    Max

Back to Top
Kendo UI is VS 2017 Ready