Check documentation for the latest version of dhtmlxSuite tabs DHTMLX Docs

tabs

returns dhtmlXTabBarCell instance (tabbar's tab)

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

Example

var myTabbar = new dhtmlXTabBar("parentId");
 
myTabbar.addTab("a1", "Rage", null, null, true);
myTabbar.addTab("a2", "Motorhead");
 
// getting tab
var tab = myTabbar.tabs("a1");
 
// attaching something
var myGrid = tab.attachGrid();
 
// the same but shorter
var myGrid = myTabbar.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