Well, you have to measure every item in the DP which can take a while.
Then, if horizontalScrollPolicy="on" it should honor the size, but if
the policy="off" (default), it gets a bit trickier because in that mode,
the DG will resize columns inorder to fit them all on screen.  You can
try setting resizable="false" and then flipping it back to true later if
you want to let folks resize it later.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Rodseth
Sent: Sunday, November 11, 2007 7:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Size list or DG column to widest content

 

Is there a good way to have a datagrid column or list that is as wide
as the widest content? eg. wide enough to display the longest name, if
it's a name column?

 

Reply via email to