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

Resize api and vertical resizing

3 Answers 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marcel
Top achievements
Rank 1
Marcel asked on 29 Nov 2013, 12:40 PM
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.

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 29 Nov 2013, 01:05 PM
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!
0
Marcel
Top achievements
Rank 1
answered on 29 Nov 2013, 01:57 PM

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) ?


0
Dimo
Telerik team
answered on 29 Nov 2013, 03:34 PM
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!
Tags
General Discussions
Asked by
Marcel
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Marcel
Top achievements
Rank 1
Share this question
or