Step 1 :online samples for DHTMLX Layout.
Step 2 : Layout. 2E
Step 3:Replace JavaScript content with the following steps
Step 4 :Observe the height of c1
Step 5:Replace the minHeight parameter with maxHeight
When using minHeight alone, the style should be “min height: 200px; flex: 1 1 auto;” instead of min height: 200px; flex: 0 1 auto;
The height should be fully occupied. But not 200.
When using maxHeight alone, the style should be max height: 200px; flex: 1 1 auto; Instead of max height: 600px; flex: 0 1 auto;
The height should be 200. Not the height of the font.
const layout = new dhx.Layout("layout", {
type: "space",
rows: [
{
rows:[{
html: "1",
minHeight:200,
// maxHeight:200
}]
},
{
id: "С2",
height: "56",
html: "2",
},
]
});