Documentation

head

sets the view header

object| string head;

Example

webix.ui({
    view:"window",
    height:250,
    head:"My Window",
    body:{
        template:"Some text"
    }
}).show();

See also

Details

If head value is a string, then Webix template is used to build the head.

If you need a more complex header, define the needed configuration through object definition:

head:{
    view:"toolbar", cols:[
        {view:"label", label: "This window can be closed" },
        { view:"button", label: 'Close Me', click:"$$('win3').close();"}
    ]}
}
Back to top