Set height: 100%

2 posts, 0 answers
  1. Erik Gantar
    Erik Gantar avatar
    7 posts
    Member since:
    Oct 2005

    Posted 04 Mar 2014 Link to this post

    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: [
    ..................
  2. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 05 Mar 2014 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
Back to Top