Check documentation for the latest version of dhtmlxSuite listAutoSizes DHTMLX Docs

listAutoSizes

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

void listAutoSizes();

Example

var myLayout = dhtmlXLayoutObject(document.body, "5I");
var autoSizes = myLayout.listAutoSizes();
 
// console.log(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
];

Back to top