DHTMLX Docs & Samples Explorer

setRowTextStyle(row_id, styleString)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxgrid.js

sets style to row.

  • row_id - row id
  • styleString - style string in common format (exmpl: “color:red;border:1px solid gray;”)
        grid.setRowTextStyle("r123", "background-color: red; font-family: arial;");

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

See also: setRowTextBold, setRowTextNormal, setCellTextStyle