DHTMLX Docs & Samples Explorer

getHorAlign()

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxgrid.js

retrieves the horizontal alignment set in the cell by method setHorAlign.
If setHorAlign wasn't called for the cell the method returns “left”.

Returns: string

mygrid.cells("row1",1).setHorAlign('right'); 
...
mygrid.cells("row1",1).getHorAlign(); // -> "right"

See also: setHorAlign