class name on cell level

Hi,

I’m trying to chnage the css of my cells.

I found the function:

grid.setCellTextStyle(row_id, ind, styleString);

Which works ok, but this function expects to get the style text and I would like to set the class name as I have a css file with all the styles.

Is there such an option??

Thanks, Efrat

try to use some kind of such function:

mygrid.forEachRow(function(id){ mygrid.cells(id,2).cell.className='my_class'; })

Great - it ios working!

Thanks, Efrat