This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jan 31, 2012, 7:08 PM
10 Posts

Setting Dojo Border Container to 100% height

  • Category: Dojo and Client Side JavaScript
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags: djBorderContainer
  • Replies: 1
Hello all,
 
I would like to embed a Dojo border container inside the center facet of an ExtLib Application Layout control and have it automatically take up 100% of available height. I basically want to use it for standard Notes-type Action Bar/View/Preview type of thing. But, If I specify height:100%, the control disappears. I suspect this is due to the css involved - but I have been unable to find much documentation on the control. My code (snippet) looks like this:
 
            <xp:panel xp:key="facetMiddle">
                <xe:djBorderContainer id="djBorderContainer1"
                    style="width:100%; height:850px" liveSplitters="true"
                    persist="true">
                    <xe:djBorderPane id="djBorderPane0" region="top">
                        Action Bar
                    </xe:djBorderPane>
                    <xe:djBorderPane id="djBorderPane1" region="bottom"
                        splitter="true">
                        Preview
                    </xe:djBorderPane>
                    <xe:djBorderPane id="djBorderPane2"
                        region="center">
                        View
                    </xe:djBorderPane>
                </xe:djBorderContainer>
            </xp:panel>
 
If I select a fixed height as in the example above, it works flawlessly. Does anybody know how to fix this?
 
Thanks,
Alex Rasmussen
Feb 11, 2012, 6:01 PM
25 Posts
Re: Setting Dojo Border Container to 100% height
I experienced the very same difficulty. I tried to remedy it via CSS with no luck. I'm not sure why this happens and I can't find much about it on the internet either. So, if you come up with a solution if you could post it here that would be great.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal