Skip to main content

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​

TopicDescription
Basic initializationLearn how to initialize a Tabbar (Example)
Attaching widgetsLearn how to attach a DHTMLX component to a Tabbar tab (Example)

Integration​

TopicDescription
Backend integrationLearn how to connect DHTMLX Suite to a backend (Demo)
OptimusLearn how to use the DHTMLX Optimus framework to build DHTMLX-based apps
(the recommended framework for apps with Suite components)
React integrationLearn how to use DHTMLX Tabbar with React (Demo)
Angular integrationLearn how to use DHTMLX Tabbar with Angular (Demo)
Vue integrationLearn 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.

TopicDescription
Defining Tabbar structureLearn how to create a Tabbar of the necessary structure (Example)
Setting the active tabLearn how to specify the active tab during Tabbar initialization
Configuring Tabbar positionLearn 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.

TopicDescription
Adding close buttons for tabsLearn how to equip tabs with close buttons (Example)
Making tabs disabledLearn how to initialize Tabbar with several disabled tabs (Example)
Configuring alignment of tabsLearn how to configure the alignment of tabs in Tabbar (Example)
Rendering tabs without contentLearn 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.

TopicDescription
Width and height of tabsLearn how to configure the width and height for tabs (Example)
Auto-width and auto-height for tabsLearn how to configure autoheight and autowidth for tabs (Example 1, Example 2)
HTML content in tab titlesLearn how to render HTML content, such as icons, in the titles of tabs (Example)
Adding tooltips for tabsThe example shows how to add tooltips for Tabbar tabs
Styling TabbarLearn how to change the look and feel of Tabbar (Example)
List of CSS classesThe 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.

TopicDescription
Adding / removing tabsLearn how to add or remove tabs of Tabbar dynamically (Example)
Enabling / disabling a tabLearn how to enable or disable a tab dynamically (Example)
Is disabled tabLearn how to check whether a tab is disabled on the page (Example)
Setting the active tabLearn how to set the active tab (Example)
Getting the active tabLearn how to get the currently active tab (Example)
Iterating over cellsLearn 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.

TopicDescription
Event basic rulesLearn the basic rules of event handling
Event handlingLearn how to attach, detach, or call Tabbar events (Example)

API reference​

In this section you will find the Tabbar API reference.

TopicDescription
Tabbar methodsCheck the list of Tabbar methods
Tabbar eventsCheck the list of Tabbar events
Tabbar propertiesCheck 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.

TopicDescription
Touch supportLearn how to work with touch support (Example)
TypeScript supportLearn how to work with TypeScript
Custom scrollLearn how to enable custom scroll in Layout cells
AwaitRedrawLearn how to run code after the component renders

Any questions left?​


info

Do you need more functionality? Feel free to share your suggestions in the comments below!