Aligning text

Once you have formatted a grid cell as a number, how can you align the text in the grid to the right?
October 11,
You can either do it with stylesheet -

#myGrid .aw-column-1 {text-align: right}

or applying the style directly to the cell template -

obj.getCellTemplate(1).setStyle('text-align', 'right');
Alex (ActiveWidgets)
October 12,

This topic is archived.

See also:

Back to support forum