I have placed two objects in a layout cell (cell “b” of a “2E” pattern): one is a Combo, the other is a Tree.
The Combo determines which Tree will be displayed. Therefore, I want the two objects put closely on top
of each other, without the additional space/separator introduced by a new multicell layout object.
The Combo is attached to the cell first, then the Tree is appended. The two objects appear vertically stacked.
However, when the tree is large so that a vertical scroll bar appears, the last (bottom) part of the tree is not
being displayed, not even when the scroll bar is put at its extreme position. The vertical space taken by the
Combo on top is taken away from the bottom of the Tree.
Any suggestions how I can fix this?
<div id="layoutdiv2" style="position:relative;width:100%;height:100%;overflow: auto;"></div>
and
combo = new dhtmlXCombo({ parent: "layoutdiv2", width: "300px" });
layout1.cells( "b" ).attachObject( "layoutdiv2" );
// ... initialise Combo.
tree = new dhtmlXTreeObject( "layoutdiv2", "100%", "100%", -1 );
// ... initialise tree
layout1.cells( "b" ).appendObject( "layoutdiv2" );