Relative/dynamic height for Layout

Is it possible to set the height of the layout component to be 80%, 90%, 100%, etc and load it into a div element using object based initialisation? I’ve tried but it gives the layout component a height of 0px.

I’ve seen the following sample:
dhtmlx.com/docs/products/dht … ooter.html
but I don’t think this will work for my application as the design of my application is a bit more complicated than that.

Hello,

layout occupies the whole html div where it is initialized. Please check this div doesn’t have 0 size.

Ah, you’re quite right. I turned off javascript and the div I was loading it into did indeed have a height of 0px. I was setting the height to be 100%, but because of the divs that it was nested in, etc it was still 0px.

Try to set width:100% and height:100% for the document body:

html,body{ width:100%; height:100%; }