DHTMLX Docs & Samples Explorer

Index
dhtmlxlayout
API Methods

### listAutoSizes()

Required library edition:
Required library file: dhtmlxlayout.js

returns array with autosize settings for loaded layout (depends on pattern)

        var dhxLayout = dhtmlXLayoutObject(document.body, "5I");
        var autoSizes = dhxLayout.listAutoSizes();

autoSizes now is an array with the following structure

        autoSizes = ["a;d;e",                      // current horizontal autosize
                     "e",                          // current vertical autosize
                     ["a;b;e", "a;c;e", "a;d;e"],  // array with available horizontal autosizes
                     ["a", "b;c;d", "e"]           // array with available vertical autosizes
        ];