Display the Single DHTMLXLayout (referrance : eval13584448)


Currently am using a dhtmlxSuite “Evaluation professional edition” .we have to display dhtmllayout object in Leftside of the page(i.e. only one leftside layout).

View property value is “2U”.I think need to change the view parameter value could you please send a sample to display the single Layout in a page.

Code snippet is attached:

Object-Based Init
<body onload="doOnLoad();">
<link rel="stylesheet" type="text/css" href="../../codebase/dhtmlxlayout.css">
<link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxlayout_dhx_skyblue.css">
<script src="../../codebase/dhtmlxcommon.js"></script>
<script src="../../codebase/dhtmlxlayout.js"></script>
<script src="../../codebase/dhtmlxcontainer.js"></script>

<div id="parentId" style="position: relative; top: 20px; left: 20px; width: 600px; height: 400px; aborder: #B5CDE4 1px solid;"></div>


please check the post viewtopic.php?f=5&t=19985

hi Alexandra,

we purchased a commercial License.

I have to use a collapse/expand functionalities in 1C layout.How to do that ?
second thing is resizing the panel in 1C Layout.How to acieve that and can you send me a sample program for those options.

If we use other Layout (2U,2E etc) we can automatically resize,collapse/expand it.

Kindly reply on ASAP.

Rajkumar M

Hi Rajkumar,

only layout panels can be resized by dragging their splitters. So, 1C layout can not be resized as it has no splitter.

We need some picture that shows the desired behaviour. Possibly you could you use 2E layout with hidden header for “b” cell:

dhxLayout = new dhtmlXLayoutObject(“parentId”, “2E”);

Or possibly window will fit more:

dhtmlx.com/docs/products/dht … bject.html