Right aligning numeric fields in grid

I have a grid that is dynamically filled from a database. I set the data types (string, date, number) for each column and everything displays correctly, except that everything is aligning to the left.

I would like the number type fields to align to the right. I have been scanning this site and the documentation without success.

Any suggestions?

December 7,
define a style:
.aw-column-0 {text-align: center;}
.aw-column-1 {text-align: right;}
.aw-column-2 {text-align: center;}

Or by js:
obj.getCellTemplate(columnNumber).setStyle('text-align', 'right');
December 9,

This topic is archived.

See also:

Back to support forum


Version 2

Looking for AW 2.6 ?
The old site is here.