DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### setCellTextStyle(row_id, ind, styleString)

Required library edition:
Required library file: dhtmlxgrid.js

sets style to cell

- row_id - row id
- ind - cell index
- styleString - style string in common format (ex: “color:red;border:1px solid gray;”)

       mygrid.setCellTextStyle("row1",0,"color:red;border:1px solid gray;");

Please make sure that necesary cell is loaded before calling this method.

See also: setStyle, setRowTextStyle