autoplace

when a new view added into the layout, moves all views vertically so that the 1st view gets y:0 position

boolean autoplace;

Example

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    
    ]
});


Default value:

true
Details

The config allows keeping views in the layout compact, while their positioning relative to each other remains the same.

Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.