You can set column sizes whenever you feel like it, but if you have
hScrollPolicy="off", the other columns may adjust since all columns must
fit on screen under that policy.  If you look in the archives, several
folks have struggled with it.  To determine the exact size for a column
requires visiting every row in the data which is expensive so having
some other way is recommended.  

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of jmfillman
Sent: Tuesday, June 10, 2008 8:21 PM
To: [email protected]
Subject: [flexcoders] DataGrid scroll size on data load

 

When I load data into a DataGrid, the right most field often gets cut 
off. The column widths are set when the application loads. The question 
is, how do I make it expand dynamically to adjust to the width of the 
longest field in the column?

 

Reply via email to