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

Setting height of schedular?

1 Answer 185 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Pavel
Top achievements
Rank 1
Pavel asked on 30 Aug 2013, 06:40 PM
I know there is a height variable with the scheduler control? I want to find out if there is a way to auto-set to the height of the browser? Mind you, I do have it loaded up within a tabstrip, so anyway to make the tabstrip adjust to the browser height and the schedule control auto-adjust to the content height?

Paul

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 02 Sep 2013, 02:57 PM
Hello Paul,

Setting a 100% height to the Scheduler is trivial, either via the widget configuration (as a string value), or as a CSS style applied to the widget's originating element. Removing the Scheduler border with CSS is recommended, so that it does not overflow.

However, configuring the TabStrip to expand together with its parent or browser window is a little more complex, because the TabStrip containers have a visible sibling element - the tab list. This means that a 100% height cannot be set, as content overflow will occur. Javascript should be used to calculate the available vertical space. Here is an example:

http://jsfiddle.net/dimodi/8etzB/

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
Pavel
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or