Datatable: Change the cell template (css) through code

How to change the cell template / css through code using webix?

http://docs.webix.com/api__ui.datatable_addcellcss.html

$$("mytable").addCellCss(152, "years", "css_class_name");

can we pass the css property directly at css_class_name like for ex. {“background” : “grey”}, like how its done here http://docs.webix.com/datatable__styling.html#cells

You can use

$$("mytable").addCellCss(1, "year", 
  webix.html.createCss({ background: "#ffa" }));

http://webix.com/snippet/9fa571b1