3.2.0

Centering data in columns

Hi,
I would like to center data in some columns, not all.
Is there a way to do this?
Thinman
October 28,
example

#grid2 .aw-column-7 {width: 80px;text-align: center;}
#grid2 .aw-column-8 {width: 70px;text-align: right}
thierry
October 29,
Or same in javascript:
obj.getCellTemplate(7).setStyle('width', ' 80px');
obj.getCellTemplate(7).setStyle('text-align', 'center');
obj.getCellTemplate(8).setStyle('width', ' 70px');
obj.getCellTemplate(8).setStyle('text-align', 'right');
October 29,
Thank you that was exactly what I was looking for!
Thinman
October 30,

This topic is archived.

See also:


Back to support forum