DHTMLX Docs & Samples Explorer

Index
dhtmlxlayout
API Methods

### setAutoSize(hor, ver)

Required library edition:
Required library file: dhtmlxlayout.js

sets autosize for the layout

- hor - cells that will be autosized horizontally
- ver - cells that will be autosized vertically

        var dhxLayout = new dhtmlXLayoutObject(document.body, "5I");
        // default autosize for "5I" pattern is ["a;d;e", "e"]
        // redefine autosize
        dhxLayout.setAutoSize("a;b;e", "a");

list of available autosizes could be retrieved with listAutoSizes() method