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

Set height: 100%

1 Answer 188 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 1
Erik asked on 04 Mar 2014, 07:42 AM
Is it possible to set 

function initScheduler() {
        $("#scheduler").kendoScheduler({
            date: new Date("2013/6/26"),
            startTime: new Date("2013/6/26 07:00 AM"),
             height: 100%,
            views: [
..................

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 05 Mar 2014, 03:06 PM
Hi Eric,

Yes, it is possible, but "100%" should be a string. Also, be aware of the web standards' requirement that an element with a percentage height requires a parent element with an explicitly set height. The rule applies recursively until an element with a pixel height is reached, or until the <html> element is reached.

100% hight elements cannot have borders, margins, paddings and siblings.

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