How is the data traveling back to flash from the DB? 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, May 10, 2006 1:39 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] dynamic creation of a datagrid

Hi,
i need to put into a datagrid data coming from a db.
The problem is the number of columns is variable.
I use addColumn to add n new columns with their names, but when is time
to use assItem i don't know what to do...
The use of addItem is addItem( { col1: "val1",col2:val2 } ) but i know
col1 and col2 only at runtime ....
What can i do to solve this problem?

Thanks,Riccardo
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to