I’ve been splitting my hairs for the last few hours searching how to do it (the adobe reference documents are abysmal). When using mxml it just adding
<mx:DataGridColumn textAlign="right" />
and you’re done. In pure AS3 I can’t freaking figure it out. The only thing I found remotely useful is to write a custom cellRenderer class just to align my text to the right :x
Is there a simpler way to do it? Mind you, some columns need to be different alignment, so I can’t just slap a setRendererStyle on the whole grid.