How to make css on fontawsome button getting applied?

Hi ,

I have a fontawesome button with delete icon.
By default it is disabled, however once a datatable row is selected it becomes enabled and I am also changing the css attached to it as below:

$$(‘delete’).config.css = “notopq”

But, I see the css is not getting applied. Please help.

The snippet is here : Code Snippet

Thanks.

.config is read-only
use addCss or define


webix.html.addCss($$("delete"),"notopq");


$$('delete').define("css", "notopq");
$$('delete').refresh();

https://docs.webix.com/desktop__styling.html#dynamicstyles

Jacekk015, it worked nicely , thanks for the solution.