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

Issue with slotDuration and slotDivsion

2 Answers 82 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 08 Feb 2019, 12:17 AM

When I try to set the slot duration to 15 the time slots are not correct.

I would expect: 7:00, 7:15, 730: etc..

I get 7:00, 7:14, 7:28 (multiples of 14)

https://stackblitz.com/edit/angular-rhk7uu

 

I am able to band-aid fix the issue by adding the slotDivisions="1" which seems to solve the time slots issue, but then I lose the divider line that separates the times.  If you add that attribute to the demo, you can see there is a separator between 7:00 and 7:15 but then all the other times have no separator between them.

 

Now for my needs, I only want 1 slot per time, so I want to use the slotDivisions="1" but when I lose the separator it makes the scheduler less readable.  Is this intentional or a bug?

 

2 Answers, 1 is accepted

Sort by
0
James
Top achievements
Rank 1
answered on 08 Feb 2019, 11:57 PM

I was able to solve the missing separators with some CSS but I don't think this is intended behavior so it might be a bug.

.k-scheduler-times tr+tr th{border-color: inherit}

 

After digging around I found the the current generated CSS declares it as transparent, so this seems to solve it.

0
Daniel
Telerik team
answered on 11 Feb 2019, 08:14 AM
Hello James,

Thanks for pointing out this problem. Indeed, it is a bug. I have logged an issue and we will look into it. I also updated your Telerik points for the bug report.

Regards,
Daniel
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.
Tags
Scheduler
Asked by
James
Top achievements
Rank 1
Answers by
James
Top achievements
Rank 1
Daniel
Telerik team
Share this question
or