moves a view to a new position and updates its sizes
id | string|number | the id of a view |
pos | object | an object with new view position |
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: