DHTMLX Docs & Samples Explorer

Index
dhtmlxtabbar

## dhtmlxTabbar API Methods

#### dhtmlXTabBar Object

- addTab adds tab to TabBar
- attachEvent attaches an event handler to TabBar
- clearAll reinitializes tabbar
- detachEvent removes an event handler
- disableTab disables tab in tabbar
- enableAutoReSize enables/disables auto adjusting height and width to outer conteiner
- enableAutoSize enables/disables auto adjusting height and width to inner content
- enableContentZone enables/disables content zone (enabled by default)
- enableForceHiding enables/disables force hiding mode, solves IE problems with iframes in HTML content, but can cause problems for other dhtmlx components inside tabs
- enableScroll enables/disables scrollers ( enabled by default )
- enableTab enables tab in tabbar
- enableTabCloseButton enables mode, in which each tab has close button, mode will be applied to the tabs created AFTER command
- forceLoad forcing to load tab in question
- getActiveTab gets id of current active tab
- getLabel gets label of tab
- goToNextTab selects tab next to active
- goToPrevTab selects tab previous to active
- hideTab hides tab in tabbar
- loadXML loads tabbar from xml file
- loadXMLString loads tabbar from xml string
- normalize reformats tabbar to remove tab scrollers
- removeTab removes tab from tabbar
- setAlign sets align of tabs on tabbar
- setContent sets content of tab
- setContentHTML sets content of tab, as HTML string
- setContentHref sets content as a href to an external file
- setCustomStyle sets specific colors for specific tab
- setHrefMode sets mode of loading external content
- setImagePath sets path to image folder ( not affect already created element until their state changes )
- setLabel sets label of tab
- setMargin sets distance between tabs
- setOffset sets offset before first tab on tabbar
- setSize sets control size
- setSkin sets style used for tabbar
- setSkinColors allows to set skin specific color, must be used AFTER selecting skin
- setTabActive switches tab to active state
- showTab shows hidden tab in tabbar
- tabWindow returns window of tab content for iframe based tabbar

#### dhtmlXTabbar cell object

- attachAccordion attaches dhtmlxAccordion to the cell
- attachEditor attaches dhtmlxEditor to the cell
- attachFolders attaches dhtmlxFolders to the cell
- attachGrid attaches dhtmlxGrid to the cell
- attachLayout attaches dhtmlxLayout to the cell
- attachMenu attaches dhtmlxMenu to the cell
- attachObject attaches html object to the cell
- attachStatusBar attaches status bar to the cell
- attachTabbar attaches dhtmlxTabbar to the cell
- attachToolbar attaches dhtmlxToolbar to the cell
- attachTree attaches dhtmlxTree to the cell
- attachURL attaches dhtmlxURL to the cell