Set cell class from javascript

Hello. In dhtmlxTreeGrid, is it possible to set the cell class attribute from within an addRow() function or seperately?



For example I have:



category



But when I use mygrid.addRow() I don’t see how to set this class attribute to the newly created cell.



Thank you.

Can be done in next way

    grid.addRow(id,values)
    grid.cells(id,index).cell.className=“select”;