:: Forum >> Version 2 >>

Aligning text

More information on this topic is available in the documentation section: /aw.formats.number/settextformat.html.

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-{text-alignright}
 
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 /aw.formats.number/settextformat.html

Documentation:

Forum search