x++;
var z = theXML.firstChild.firstChild;
for (var i = 0; imailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, May 10, 2006 1:51 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] dynamic creation of a datagrid
I use a perl script that give me a big strin
Hey,
You probably need some metadata about the datagrid, like number of columns
and then you can add columns dynamically and then once all that is done,
assign a DataProvider with the appropriate data to the datagrid.
I attached some code for you to look at, as I have done this. There is
probabl
I use a perl script that give me a big string with | as row delimiter and
# as cell delimiter.
I'm able to spit it by rows and split every row .
I also have another string with all headers.
I'm able to add headers but i don't know how to add data...
___
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
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
5 matches
Mail list logo