removeView

removes the specified view of a layout-like component

void removeView(id|object id);
idid|objectthe id or object of the child view which needs to be removed

Example

webix.ui({
    id:"mylayout"
    cols:[
      { id:"mytemplate1" },
      { id:"mytemplate2" },
      { id:"mytemplate3" }
   ]
})
...
$$("mylayout").removeView("mytemplate2");

Related samples

Details

The method works for layout rows and cols, multiview cells, accordion and carousel panels, toolbar and form controls.

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix html5 ui library and page of accordion ui product.