I am trying to create a 2E layout with no resizing between the two and no headers in either cell. I want the top to be a fixed 25px height bar and the bottom 100% height.
No matter what I do, the top seems to force a 40px minimum height. Can I get this down to 20 or 25px, and if so, how?
I have not tested this, but you should be able to modify the dhtmlxlayout.js file.
1.) Create a copy of dhtmlxlayout.js (in case this creates an error)
2.) Open the dhtmlxlayout.js file in notepad.
3.) Search for “this._minHeight=this._minWidth=” (without quotes)
4.) Replace the numerical value after “this._minHeight=this._minWidth=” (without quotes) to the value you want (ie. 20).
So, it could be 1C layout with header attached and hidden cell header:
Your header
The solution provided in previous post is also working. However, it would be better not to modify dhtmlxlayout.js. It is possible to redefine _minHeight for a certain layout:
Now I want to minimize the whitespace height between the two panels were the resizer grab would have gone. Since I’m not allowing resizing, it’s just empty whitepspace.
What I want is two rows, the first row fixed at 25px high, the next row is 100% of whatever height is available. I want 0 space between the first and second row.