You would have to measure every item in your dataprovider which could be
really expensive.  It may be better to pick a number that you know will
be big enough or figure out what might be a representative 'long' string
and just measure that.  Once you have the number, you can set the width
of the column to that number.

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of RADHIKA
CHILAKAMARRI
Sent: Thursday, November 22, 2007 10:07 AM
To: [email protected]
Subject: [flexcomponents] set datagrid column width to autofit to
contents

 

hi..

Is there anyway to set the datagrid column width according to the data
dynamically......


         

  

________________________________

Get easy, one-click access to your favorites. Make Yahoo! your homepage.
<http://us.rd.yahoo.com/evt=51443/*http:/www.yahoo.com/r/hs>  

 

Reply via email to