adjusts the view to a new size

void resize();


dtable = webix.ui({
    // other config
dtable.define("width", 700);

Related samples


You may need to use this method if you want to change the width or height of the component.

$$('list1').config.width = 200;
$$('list1').config.height = 200;

If a component is placed into some layout - you need not to call resize for the parent layout, it will adjust automatically.

Performance tip

If you set sizes for multiple components,it makes sense to set sizes for all of them at first and only then call resize().

$$('list1').config.width = 200;
$$('list1').config.height = 200;
$$('list2').config.width = 600;
$$('list2').config.height = 400;
See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix js frameworks and page of context menu product.