removeView

removes the specified view from a dashboard

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

Example

webix.ui({
    view:"dashboard", 
    id:"grid",
    gridColumns:4, gridRows:3,
    cells:[
        { id:"a", view:"panel", x:0, y:0, dx:1, dy:1, body:{
            template:"Single"
        }},
        { id:"b", view:"panel", x:1, y:0, dx:2, dy:1, body:{
            template:"Wide 1"
        }},
        // more columns
    ]
});
 
$$("grid").removeView("a");

Related samples

See also
Back to top