css
adds style classes to TreeGrid
css?: string;
Example
<style>
.my_first_class {
/*some styles*/
}
.my_second_class {
/*some styles*/
}
</style>
var treegrid = new dhx.TreeGrid({
css: "my_first_class my_second_class"
});
Related sample: TreeGrid. Styling Grid
Note, that the DHTMLX library provides a set of own CSS classes that you can also apply to change the appearance of TreeGrid:
var treegrid = new dhx.TreeGrid({
css: "dhx_widget--bg_white"
});