css
adds a CSS class(es) to the component
css?: string;
Example
<style>
.bg-gray {
background: #faf9f9;
}
</style>
var list = new dhx.List("list", {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:
var list = new dhx.List("list", {
css: "dhx_widget--bg_white"
});