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

Kendo splitter - 100 % height

3 Answers 172 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Subhash
Top achievements
Rank 1
Subhash asked on 09 Mar 2013, 10:33 AM
Hi

I want to keep the both panes inside a container to have 100% height. The panes should fit to content. But it is taking the default height as 300px.

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 11 Mar 2013, 12:03 PM
Hello Anupama,

Please set a 100% height style to the <div> element, which is used to create the Splitter. Please be aware of the web standards related to percentage heights and make sure the <div> is as high as expected before the Splitter is initialized.

Regards,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Subhash
Top achievements
Rank 1
answered on 12 Mar 2013, 10:59 AM
Hi dimo

I tried by giving 100% height to the div which is used to create the splitter and also the parent element containing the div. Still the issue exist. Can you please suggest a approach to fix this issue?

Thanks
Anupama
0
Dimo
Telerik team
answered on 12 Mar 2013, 04:12 PM
Hi Anupama,

Is the <div> 100% high at the time the Spltiter is created? If not, then the problem is not related to Kendo UI and you need to add some missing (100% or pixel) height styles to the <div>'s ancestor elements.

Here is a 100% high Splitter implementation that you can use as a reference.

http://jsfiddle.net/dimodi/QZcH7/

Regards,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Splitter
Asked by
Subhash
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Subhash
Top achievements
Rank 1
Share this question
or