DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### setRowTextStyle(row_id, styleString)

Required library edition:
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