I think you may be experiencing a bug that is fixed in beta 2.  Try
calling validateNow() on the DataGrid after you've assigned the
dataProvider and then try setting the width of the columns.

Matt

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of sinacapho
Sent: Monday, March 06, 2006 3:19 AM
To: [email protected]
Subject: [flexcoders] Dynamic inserted column in datagrid

Dear all,
       i have facing a problem like this. I call two web service. One
of them get the dataset .The other is get the column label and name of
the datagrid. 
       After i have get this 2 web service result(i sure i got it). I
use actionscript to add the datagridcolumn into the datagrid according
to the data i get from the second web service. 

       After that i have set the dataprovider of the datagrid to be
the result of the first web service . Actually the data can show . But
the column width cannot set. Sometime 3 of the column width have used
up all the datagrid width and the other column just hidden until you
have use mouse to resize the column. i have set the column width but
the problem come the same. What i can do?

thx
capho






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to