width

sets the width of a cell

string|number width;

Example

var layout = new dhx.Layout("layout_container", {
    cols: [
      { header: "Cell header", width: "300px" }
    ]
});

Related samples

Details

Starting from v7.0, the width of a cell can be automatically adjusted to the width of its content. For that, set the width configuration option to "content":

var layout = new dhx.Layout("layout_container", {
    cols: [
      { header: "Cell header", width: "content" }     ]
});
See also
Back to top