css
adds a CSS class(es) to the component
css?: string;
Example
<style>
.bg-gray {
background: #faf9f9;
}
</style>
const list = new dhx.List("list_container", {css: "bg-gray"});
Related samples:
Note, that the DHTMLX library provides a set of own CSS classes that you can also apply to change the appearance of List:
const list = new dhx.List("list_container", {
css: "dhx_widget--bg_white"
});