css
Optional. Adds style classes to Combobox
css?: string;
Example
<style>
body {
margin: 0;
}
.custom-class .dhx_combobox-input-box {
border-radius: 20px;
background: #FFF;
}
</style>
<script>
const combobox = new dhx.Combobox("combobox_container", {
css: "custom-class"
});
</script>
Related sample: Combobox. Styling (custom CSS)
Note, that the DHTMLX library provides a set of own CSS classes that you can also apply to change the appearance of Combobox:
const combo = new dhx.Combobox("combo_container", {
css: "dhx_widget--bg_white"
});
Related articles: