Hi I have the professional version of dhtmlx suite.
I’m using a simple “2U” layout, the cell(“a”) width is fixed to 300 I noticed a misbehavior.
Try to collapse cell “a”, then collapse cell “b” (cell a expands) and then expand cell “b”. The cell a is resized to a a very small width (nearly 30px) and stay this size until refresh. This annoying because I have denied my users from resizing.
I have tried initializing the layout using the simplest code to see if the error reproduces and it did:
<script type="text/javascript" src="Components/dhtmlx/dhtmlxGrid/codebase/dhtmlxcommon.js"></script>
<script type="text/javascript" src="Components/dhtmlx/dhtmlxLayout/codebase/dhtmlxcontainer.js"></script>
<script type="text/javascript" src="Components/dhtmlx/dhtmlxLayout/codebase/dhtmlxlayout.js"></script>
<script type="text/javascript">
function doOnLoad() {
var layout = new dhtmlXLayoutObject("layoutContainer", "2U", "dhx_skyblue");
layout.cells("a").setWidth(300);
}
</script>
thanks