head

sets the view header

object| string head;

Example

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

Related samples

Details

If the 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 the object definition:

head:{
    view:"toolbar", cols:[
        {view:"label", label: "This window can be closed" },
        { view:"button", label: 'Close Me', click:"$$('win3').close();"}
    ]}
}
See also
  • API
  • Articles
  • Back to top
    If you have not checked yet, be sure to visit site of our main product Webix javascript ui library and page of js window product.