21 October 2008

Variable row height in Flex DataGrid

Here's an easy way to have your DataGrid's rows adjust to fit the height of each row's contents:
<mx:DataGrid id="myGrid" variableRowHeight="true"
You need to use the variableRowHeight and wordWrap properties to get the job done.


Tomas said...

it really works, thanks.

Alex C said...

You're welcome. Glad it helped.

Anonymous said...

Thanks for the tip, I was just needing this :D