Required library edition: Required library file: dhtmlxgrid.js
sets the horizontal alignment in the cell
mygrid.cells("row1",1).setHorAlign('r');
See also: getHorAlign