returns dhtmlXTabBarCell instance (ribbon's tab)
id | string|number | tab id |
dhtmlXTabBarCell | dhtmlXTabBarCell instance |
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();
Used to attach content, menu/toolbar/status, show/hide progress, perform some tabs operations
Please, check dhtmlXTabBarCell API
added in version 4.0
Back to top