Archive for April, 2010

h1

Setting width of DataGridColumn as Percentage

April 16, 2010

Have you ever tried setting the width of a DataGridColumn in percentage value? Something like width=”20%”??? I did that today and was shocked to see a compile time error. After doing some research, I found this solution:

<mx:DataGridColumn width=”0.2″/>

When you set the width in decimals, it automatically converts it as percentage!!!

Now thats BAD!!!

Advertisements