pink color for read only columns

i want to give pink color for read only columns.
and same fields should be pink on adding new row.

Thank You

Hi Abhi,

try this,

mygrid.attachEvent(“onRowCreated”, function(id,ind){
// id is row number
//ind is column number.
//if ur read only column is 2

         mygrid.setCellTextStyle(id, 2, "background-color:pink;");

hope help this one,

Thank You Vijai
It is working fine but when i selecting that row and again deselecting the color is vanished.

here its working fine,
if possible post your code…will chk & try.