:: Forum >>

Centering data in columns

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

#grid2 .aw-column-7 {width: 80px;text-align: center;}
#grid2 .aw-column-8 {width: 70px;text-align: right}
thierry
Thursday, October 29, 2009
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');
Thursday, October 29, 2009
Thank you that was exactly what I was looking for!
Thinman
Friday, October 30, 2009

This topic is archived.


Back to support forum

Forum search