Check documentation for the latest version of dhtmlxSuite getStyle DHTMLX Docs

getStyle

Gets the style set for the cell.

Return value

  • (array) assigned style attributes

Example

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

Details

The $style variable from the example above will have the value as in:

array (
   "bold" => 1, 
   "italic" => 0, 
   "color" => '000000',
   "bgcolor" =>'ffffff',
   "align" => 'center',
   "validator" => 'none',
   "lock" => 0
);

See also: setStyle

Back to top