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