Layout Problem

Hi,



I have a problem with the component layout. When the layout has a pattern 2E, to close and open layout, the layout takes on top a very small size. This error can be seen at the following address: img230.imageshack.us/img230/8137/layouteu.jpg



For this size we have to take the following steps:

1�. Collapse layout “b”.

2�. Collapse layout “a”.

3�. Collapse layout “b”.

4�. Expand layout “b”.



What is the problem?

Thanks for your support.





Best regards,

Jesus.


Hello,


you can try to use the following approach to solve the issue:


var dhxLayout = new dhtmlXLayoutObject(“parentId”, “3E”);
var arr=[];
arr[“a”] = dhxLayout.cells(“a”).getHeight();
arr[“b”] = dhxLayout.cells(“b”).getHeight();
arr[“c”] = dhxLayout.cells(“c”).getHeight();
dhxLayout.attachEvent(“onExpand”,function(id){
for(var a in arr){
this.cells(a).setHeight(arr[a]);
}
return true


})



Thanks, works OK!!

Best regards,
Jesus.