views

defines the configuration of tabs

array views;

Example

var tabbar = new dhx.Tabbar("tabbar_container", {
    views:[
        { tab: "left", css:"panel flex", header:"Left"},
        { tab: "west", css:"panel flex", header:"West"},
        { tab: "east", css:"panel flex", header:"East"},
        { tab: "right", css:"panel flex", header:"Right" }
    ]
});

Details

The views array contains a set of objects that describe configuration of tabs. Each tab object may include the following properties:

  • id - the id of a tab
  • tab - the name of a tab
  • tabCss - the name of the CSS class used for a tab
  • css - the name of the CSS class used for a cell
  • header - the header of a cell
  • html - HTML content for a tab
  • padding - the distance between the content of a cell and the border of tabbar
See also
Back to top