Check documentation for the latest version of dhtmlxSuite setColor DHTMLX Docs

setColor

Sets the text color for the cell.

Parameters

  • $value - (string) the color in the hexadecimal format (without '#')

Example

$cell = new SpreadSheetCell($res, "1","B1", $db_prefix);
$cell->setColor('00FF00');

See also: getColor, getStyle, setBgColor

Back to top