Check documentation for the latest version of dhtmlxSuite setAlign DHTMLX Docs

setAlign

Sets the alignment for the cell.

Parameters

  • $value - (left, right, center, justify) the alignment type.

Example

$cell = new SpreadSheetCell($res, "1","B1", $db_prefix);
$cell->setAlign('center');

See also: getAlign, getStyle

Back to top