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

Timeline Fit To Screen

3 Answers 147 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 13 Aug 2015, 12:53 PM

Is there a way to get the timeline view to fit to the screen size?   This way the user doesn't have to keep scrolling to see the whole day at once.   The width and height of each hour cell is quite larger than it needs to be.

Thanks in advance, Scott

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 17 Aug 2015, 08:10 AM
Hi Scott,

Please use the columnWidth property:

http://docs.telerik.com/kendo-ui/api/javascript/ui/scheduler#configuration-views.columnWidth

You may need to calculate the correct configuration value on the client, depending on horizontal space available for the Scheduler, and which widget view is used.

Regards,
Dimo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Scott
Top achievements
Rank 1
answered on 17 Aug 2015, 01:13 PM
Great that works.  How about the height so I don't have skinny looking columns?
0
Dimo
Telerik team
answered on 18 Aug 2015, 11:20 AM
Hi Scott,

I am not sure what does "skinny looking columns" refer to. Generally, the Scheduler exposes the following height-related configuration properties:

- Scheduler height
http://docs.telerik.com/kendo-ui/api/javascript/ui/scheduler#configuration-height

- Scheduler event height (month and timeline views only)
http://docs.telerik.com/kendo-ui/api/javascript/ui/scheduler#configuration-views.eventHeight

The event height has direct influence on the row height.

Any other appearance customizations should be implemented via custom CSS code.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Scheduler
Asked by
Scott
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Scott
Top achievements
Rank 1
Share this question
or