Readonly, Disabled columns appearance as greyed out

Hi,
I need some of the grid columns as readonly i.e. “ro” and some are dynamically disabled based on certain conditions i.e
cells(rowId,colIndex).setDisabled(true)

In both these cases I want the cell, column to appear as greyed out …How do I do it ?

Regards,
Neha

You may apply the required style to any cell in your grid using the setCellTextStyle() method:
docs.dhtmlx.com/api__dhtmlxgrid_ … style.html

Hi Sematik,

Thank for the response… This is Ok if I need to do this for certain cells… I can use this
setCellTextStyle() method. But there are certain columns that are always readonly i.e. the coltype is “ro” … How can I make these appear as greyed… I cannot loop through all rows and all columns and based on coltype set the cell style dynamically…

Unfortunately it is not available to change the color of the particular column dynamically.