Check documentation for the latest version of dhtmlxSuite setCellTextStyle DHTMLX Docs

setCellTextStyle

sets a style for a cell

void setCellTextStyle(string|number row_id,number ind,string styleString);
row_idstring|numberthe row id
indnumberthe cell index
styleStringstringa style string in the common format (ex: "color:red;border:1px solid gray;")

Example

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

Back to top