Skip to main content

Features

This page helps you start working with DHTMLX Combobox and explore its functionality in depth.

How to start with DHTMLX Combobox​

In this section you will learn how to initialize and localize Combobox, load data into it, and integrate it into your applications.

Initialization and localization​

TopicDescription
Basic initializationLearn how to initialize Combobox
LocalizationLearn how to localize Combobox (Example)

Loading data into Combobox​

TopicDescription
Loading data into ComboboxLearn how to load the initial data into Combobox
Initialization with config.dataThe example shows how to load data into Combobox on the fly
Initialization with data.load()The example shows how to load data from an external file
Initialization with data.parse()The example shows how to load data from a local data source
Initialization with external DataCollectionThe example shows how to load data from external DataCollection
Rendering a large data setLearn how to render options dynamically as the user scrolls the list (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 Combobox with React (Demo)
Angular integrationLearn how to use DHTMLX Combobox with Angular (Demo)
Vue integrationLearn how to use DHTMLX Combobox with Vue.js (Demo)

How to configure Combobox​

In this section you will learn how to set an initial value in the input, enable multiselection, configure a label and a placeholder, and more.

TopicDescription
Setting initial valueLearn how to specify the initial values that appear in the Combobox input (Example)
Enabling multiselectionLearn how to select several options at once (Example)
Adding Select All buttonLearn how to select all options with a single button (Example)
Displaying the number of selected optionsLearn how to show the total number of selected options in the Combobox input (Example)
Configuring a labelLearn how to configure a label and its position for Combobox (Example)
Hiding a labelLearn how to hide a label
Setting a placeholderLearn how to set a placeholder in the Combobox input (Example)
Adding new optionsLearn how to let users add new options to Combobox from the UI (Example)
Editing/deleting optionsLearn how to let users edit and delete Combobox options from the UI (Example)
Making Combobox readonlyLearn how to prevent typing in the input (Example)
Making Combobox disabledLearn how to block all operations with Combobox (Example)

How to customize Combobox and change its size​

In this section you will learn how to customize Combobox and configure the height of the option list and its items.

TopicDescription
Height of Combobox elementsLearn how to set the height of the Combobox option list and of its items (Example)
Applying custom filteringLearn how to set a custom function that filters Combobox options (Example)
Grouping Combobox optionsThe example shows how to group Combobox options
Rendering HTML contentLearn how to display HTML content as plain text to prevent XSS attacks (Example)
Styling Combobox (custom CSS)Learn how to change the appearance of Combobox (Example)
Styling Combobox itemsLearn how to customize the appearance of options in the popup list (Example)
List of CSS classesThe CSS classes included in the DHTMLX library

How to work with Combobox​

In this section you will learn how to enable and disable Combobox, show and hide the list of options, and set and remove focus.

TopicDescription
Enabling/disabling ComboboxLearn how to enable/disable Combobox (Example)
Showing/hiding a list of Combobox optionsLearn how to show and hide the Combobox popup (Example)
Setting/removing focusLearn how to set focus to Combobox (Example)

How to work with data in Combobox​

In this section you will learn how to apply the DataCollection API to Combobox data (for example, how to add, update, serialize, or remove data).

TopicDescription
Adding/removing itemsLearn how to add or remove Combobox options (Example)
Updating itemsLearn how to update Combobox options (for example, to change their values) (Example)
Serializing Combobox dataLearn how to serialize Combobox data
DataCollection APICheck the full DataCollection API reference

How to work with selected options​

In this section you will learn how to set and read the input values, get the index of a specified value, and clear the input.

TopicDescription
Selecting valuesLearn how to set values in the input (Example)
Getting selected valuesLearn how to read the values set in the input (Example)
Getting index of selected valuesLearn how to get the index of the value specified in the input (Example)
Clearing inputLearn how to clear the specified values from the Combobox input (Example)

How to work with Combobox events​

In this section you will learn how to work with Combobox events.

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

API reference​

In this section you will find the Combobox API reference.

TopicDescription
Combobox methodsCheck the list of Combobox methods
Combobox eventsCheck the list of Combobox events
Combobox propertiesCheck the list of Combobox properties

Common functionality​

In this section you will learn about common library functionality that is useful when you work with Combobox.

TopicDescription
Touch supportLearn how to work with touch support
TypeScript supportLearn how to work with TypeScript
Accessibility supportLearn about accessibility support in Combobox
AwaitRedrawLearn how to perform the code after the component's rendering

Any questions left?​


info

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