This is a migrated thread and some comments may be shown as answers.

Add dates above scheduler

3 Answers 64 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Max
Top achievements
Rank 1
Max asked on 04 Mar 2016, 11:00 AM

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

3 Answers, 1 is accepted

Sort by
0
Max
Top achievements
Rank 1
answered on 04 Mar 2016, 12:33 PM

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.

0
Accepted
Rosen
Telerik team
answered on 08 Mar 2016, 08:25 AM

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!
 
0
Max
Top achievements
Rank 1
answered on 14 Mar 2016, 08:03 AM

Thank you!

That worked out well.

 

Greetings,

Max

Tags
Scheduler
Asked by
Max
Top achievements
Rank 1
Answers by
Max
Top achievements
Rank 1
Rosen
Telerik team
Share this question
or