I have two quesitons for you...

1. How can I set the column size to be the size of the largest piece of data
for the column?

2. After populating the grid with data via an xml file (suppose the xml
generates 5 cols and 5 rows), how can I then append two columns to the end
of the grid. For example:

START STATE:
XMLData XMLData XMLData         XMLData         XMLData  
XMLData XMLData XMLData         XMLData         XMLData 
XMLData XMLData XMLData         XMLData         XMLData 
XMLData XMLData XMLData         XMLData         XMLData 
XMLData XMLData XMLData         XMLData         XMLData 

END STATE:
XMLData XMLData XMLData         XMLData         XMLData Data    Data    
XMLData XMLData XMLData         XMLData         XMLData Data    Data
XMLData XMLData XMLData         XMLData         XMLData Data    Data
XMLData XMLData XMLData         XMLData         XMLData Data    Data
XMLData XMLData XMLData         XMLData         XMLData Data    Data

Thanks

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Alberto Albericio Salvador
Sent: Thursday, February 16, 2006 6:25 AM
To: [email protected]
Subject: [flexcoders] Flex2 data binding

Hi all,

Is there a way to extend the Array class so that I can bind UIcomponents
properties to the array.length property?
Something like:

<mx:VBox visible="{myArray.length > 0}" />


--
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



--
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