Features
This page helps you start working with DHTMLX Tabbar and explore its functionality in depth.
How to start with DHTMLX Tabbar
In this section you will learn how to initialize Tabbar, attach DHTMLX components to its tabs, and integrate Tabbar into your applications.
Initialization
| Topic | Description |
|---|---|
| Basic initialization | Learn how to initialize a Tabbar (Example) |
| Attaching widgets | Learn how to attach a DHTMLX component to a Tabbar tab (Example) |
Integration
| Topic | Description |
|---|---|
| Backend integration | Learn how to connect DHTMLX Suite to a backend (Demo) |
| Optimus | Learn how to use the DHTMLX Optimus framework to build DHTMLX-based apps (the recommended framework for apps with Suite components) |
| React integration | Learn how to use DHTMLX Tabbar with React (Demo) |
| Angular integration | Learn how to use DHTMLX Tabbar with Angular (Demo) |
| Vue integration | Learn how to use DHTMLX Tabbar with Vue.js (Demo) |
How to configure Tabbar
In this section you will learn how to create a Tabbar with the necessary number of tabs, specify the active tab, and define the position of Tabbar on a page.
| Topic | Description |
|---|---|
| Defining Tabbar structure | Learn how to create a Tabbar of the necessary structure (Example) |
| Setting the active tab | Learn how to specify the active tab during Tabbar initialization |
| Configuring Tabbar position | Learn how to specify the position of Tabbar on the page (Example) |
How to configure Tabbar tabs
In this section you will learn how to add close buttons to tabs, disable tabs, configure their alignment, and render tabs without content.
| Topic | Description |
|---|---|
| Adding close buttons for tabs | Learn how to equip tabs with close buttons (Example) |
| Making tabs disabled | Learn how to initialize Tabbar with several disabled tabs (Example) |
| Configuring alignment of tabs | Learn how to configure the alignment of tabs in Tabbar (Example) |
| Rendering tabs without content | Learn how to render a tab without any content (Example) |
How to customize Tabbar and tabs
In this section you will learn how to customize Tabbar and configure the size of its tabs.
| Topic | Description |
|---|---|
| Width and height of tabs | Learn how to configure the width and height for tabs (Example) |
| Auto-width and auto-height for tabs | Learn how to configure autoheight and autowidth for tabs (Example 1, Example 2) |
| HTML content in tab titles | Learn how to render HTML content, such as icons, in the titles of tabs (Example) |
| Adding tooltips for tabs | The example shows how to add tooltips for Tabbar tabs |
| Styling Tabbar | Learn how to change the look and feel of Tabbar (Example) |
| List of CSS classes | The CSS classes included in the DHTMLX library |
How to work with tabs
In this section you will learn how to add and remove tabs, enable and disable them, set and get the active tab, and iterate over the cells of Tabbar.
| Topic | Description |
|---|---|
| Adding / removing tabs | Learn how to add or remove tabs of Tabbar dynamically (Example) |
| Enabling / disabling a tab | Learn how to enable or disable a tab dynamically (Example) |
| Is disabled tab | Learn how to check whether a tab is disabled on the page (Example) |
| Setting the active tab | Learn how to set the active tab (Example) |
| Getting the active tab | Learn how to get the currently active tab (Example) |
| Iterating over cells | Learn how to iterate over the cells of Tabbar |
How to work with Tabbar events
In this section you will learn how to work with Tabbar events.
| Topic | Description |
|---|---|
| Event basic rules | Learn the basic rules of event handling |
| Event handling | Learn how to attach, detach, or call Tabbar events (Example) |
API reference
In this section you will find the Tabbar API reference.
| Topic | Description |
|---|---|
| Tabbar methods | Check the list of Tabbar methods |
| Tabbar events | Check the list of Tabbar events |
| Tabbar properties | Check the list of Tabbar properties |
Common functionality
In this section you will learn about common library functionality that is useful when you work with Tabbar.
| Topic | Description |
|---|---|
| Touch support | Learn how to work with touch support (Example) |
| TypeScript support | Learn how to work with TypeScript |
| Custom scroll | Learn how to enable custom scroll in Layout cells |
| AwaitRedraw | Learn how to run code after the component renders |
Any questions left?
Do you need more functionality? Feel free to share your suggestions in the comments below!