body

defines the panel content (a view or some HTML)

string|object body;

Example

webix.ui({
    view:"dashboard",
    gridColumns:4, gridRows:3,
    cells:[
        { view:"panel", body:{ template:"Single" }, x:0, y:0, dx:1, dy:1},
        { view:"panel", body:{ template:"Wide 1" }, x:1, y:0, dx:2, dy:1},
        { view:"panel", body:{ template:"Wide 2" }, x:0, y:1, dx:2, dy:1}
        // more cells
    ]
});

Related samples

See also
  • Articles
  • Back to top