Resize api and vertical resizing

4 posts, 0 answers
  1. Marcel
    Marcel avatar
    42 posts
    Member since:
    Apr 2011

    Posted 29 Nov 2013 Link to this post

    Does the resize api also make it possible to apply vertical resizing ?
    I'm trying to apply this on a grid contained in a splitter pane, but end up with the grid height being more the the pane height.
    It would be nice if kendo widgets like the grid, listbox, scheduler, charts would be able stretch vertically to their parent container without having to change css classes and doing calculations yourself.

    At the moment to my experience it's not that easy to create a SPA business application which would always be filling the entire viewport.
  2. Dimo
    Admin
    Dimo avatar
    8474 posts

    Posted 29 Nov 2013 Link to this post

    Hi Marcel,

    This is a limitation present in the official release, which has been recently fixed. The Grid will resize vertically automatically when placed inside a Splitter in the next internal and official builds. The only thing you will need to do is set a 100% height style to the Grid <div> and remove its borders (100% high elements should not have borders, paddings, margins and sibling elements).

    Regards,
    Dimo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Marcel
    Marcel avatar
    42 posts
    Member since:
    Apr 2011

    Posted 29 Nov 2013 Link to this post

    Thank you very much Dimo for the fast reply.

    At the moment i'm overriding the gridpane style like this:

    .gridPane {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: auto;
        height: auto;
    }

    So i assume that still works when i call kendo.resize("#mygridcontainer") ?

    Is that fix available in the latest internal build (2013.3.1127) ?


  4. Dimo
    Admin
    Dimo avatar
    8474 posts

    Posted 29 Nov 2013 Link to this post

    Hi Marcel,

    The fix will be available in the next internal and official builds. 1127 is a build from two days ago. Internal builds are usually uploaded at least once a week.

    Regards,
    Dimo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top