moves a view to a new position and updates its sizes
id | string|number | the id of a view |
view | object | an object with a new view configuration |
webix.ui({
view:"gridlayout",
id:"grid",
gridColumns:4, gridRows:3,
cells:[
{ id:"a", template:"Single", x:0, y:0, dx:1, dy:1 }
// more cells
]
});
$$("grid").moveView("a", { x:0, y:0, dx:2, dy:2 });
A new configuration object of a view has the following attributes: