Check documentation for the latest version of dhtmlxSuite tabs DHTMLX Docs

tabs

returns dhtmlXTabBarCell instance (ribbon's tab)

dhtmlXTabBarCell tabs(string|number id);
idstring|numbertab id
dhtmlXTabBarCelldhtmlXTabBarCell instance

Example

var myRibbon = new dhtmlXRibbon("parentId");
 
myRibbon.addTab("a1", "Rage", null, null, true);
myRibbon.addTab("a2", "Motorhead");
 
// getting tab
var tab = myRibbon.tabs("a1");
 
// attaching something
var myGrid = tab.attachGrid();
 
// the same but shorter
var myGrid = myRibbon.tabs("a1").attachGrid();

Details

Used to attach content, menu/toolbar/status, show/hide progress, perform some tabs operations

Please, check dhtmlXTabBarCell API

Change log

added in version 4.0

Back to top