Check documentation for the latest version of dhtmlxSuite getColor DHTMLX Docs

getColor

Gets the text color set in the cell.

Return value

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

Example

$cell = new SpreadSheetCell($res, "1","B1", $db_prefix);
$color = $cell->getColor();

See also: setColor, setStyle

Back to top