Unplanned
Last Updated: 22 Apr 2019 07:19 by ADMIN
Toine
Created on: 08 Apr 2019 17:13
Category: Scheduler
Type: Feature Request
6
Alter slot height in day and weekview
Currently the default height of a slot in day and weekview is pretty large. I would like to adjust the slot height to a custom size. 
3 comments
ADMIN
Dimiter Topalov
Posted on: 22 Apr 2019 07:19
Hi Toine,

After discussing the case with our developers again, we reached the conclusion that we might consider providing a Scheduler option for setting the slot height. However, I would like to point out that this option will set the same height to all the slots (setting different heights to different slots in the same view will not be supported).

I hope this will match your requirements.

I am changing the status of this request to "Approved" which means that it is a valid request that we will consider based on the customer demand for such a feature that we will track in this thread.

Regards,
Dimiter Topalov
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.
Toine
Posted on: 15 Apr 2019 09:52
This is not sufficient as we want to dynamicly change the height of the cells depending on opening hours and size of timeslots.
ADMIN
Dimiter Topalov
Posted on: 15 Apr 2019 06:47
Hello Toine,

The Scheduler slot height can be customized via the installed Kendo theme:

https://github.com/telerik/kendo-themes/search?q=%24scheduler-cell-height&unscoped_q=%24scheduler-cell-height

Set the desired value to the $scheduler-cell-height SCSS variable:

https://www.telerik.com/kendo-angular-ui/components/styling/custom-themes/#toc-using-the-build-process-of-the-application

Alternatively, you can build a custom theme with the desired variable values, and use the compiled CSS in the application:

https://www.telerik.com/kendo-angular-ui/components/styling/custom-themes/#toc-customizing-the-source-code

I hope this helps.

Regards,
Dimiter Topalov
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.