:: Forum >>

Aligning text

Once you have formatted a grid cell as a number, how can you align the text in the grid to the right?
Bernie
Thursday, October 11, 2007
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)
Friday, October 12, 2007

This topic is archived.


Back to support forum

Forum search