when a new view added into the layout, moves all views vertically so that the 1st view gets y:0 position
webix.ui({
view:"gridlayout",
id:"grid",
autoplace:false,
gridColumns:4, gridRows:3,
cellHeight: 150, cellWidth: 200,
cells:[
{ id:"a", css:"boxy", template:"Single", x:0, y:0, dx:1, dy:1 },
{ id:"b", css:"boxy", template:"Wide 1", x:1, y:0, dx:2, dy:1 },
// more cells
]
});
The config allows keeping views in the layout compact, while their positioning relative to each other remains the same.
Back to top