Skip to content

css

the name of the CSS class or the object with styles that will be applied to the view container

let css: string|object
<style>
.myClass {
font-style: italic;
}
</style>
~~~
~~~js
webix.grid({
css:"myClass"
...
});

also check the next samples:

Setting the parameter, for example, to the “myClass” value will produce HTML like this:

<div class='myClass'>...</div>

css can also be an object with styles:

webix.grid({
css:{"font-style": "italic"},
...
});

This will produce HTML with a CSS class with an auto-generated name.

Articles