Is there a way to set css style on a per-cell basis with yo

Is there a way to set css style on a per-cell basis
with your dhtmlXGrid?


Version 1.0 of grid support 2 methods for defining CSS styles for individual
cells:



a)
You can enable unique ID for cells:


                grid.enableCellIds(true);


and
use ID based css styles





                #c_A15_2{


                background color:green;


                color:white;


                }


                // style for cell with index 2
on row with ID=A15


 


b)
You can use javascript for setting some styles to any cell:


                fris.cells(“A15”,2).setBgColor(“green”);


                fris.cells(“A15”,2).setTextColor(“white”);


                fris.cells(“A15”,2).setFont(“Arial-bold-12px”);<o:p></o:p>