removeView

removes the specified view from a grid layout

void removeView(id|object id);

Parameters

idid|objectthe id or object of the child view which needs to be removed

Example

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

Related samples

See also
Back to top