Put your contents into one array with object elements and use the
columnNames property to specify only the columns (ie, object properties)
you want to show. For example,
mydata = [{company:a, id:3}, {company:b, id:54}, etc];
mygrid.columnNames = [company];
There's a working example here:
PROTECTED] On Behalf Of Helmut
Granda
Sent: Wednesday, December 14, 2005 1:12 PM
To: Flashcoders mailing list
Subject: [Flashcoders] DataGrid - Content
Is there anyway to add Data to the Data grid but to keep some of the
data hidden for a later use?
EXE:
company = [a,b,c,d,e,f,g,h,i]
id
Helmut Granda wrote:
Thanks all for your help on this.
What I can't get my head around and maybe that is why I cant get this
to work is, how does the DG knows to get the info from certail columns
only?
I dont see the declaration that the information belongs to the DG.
Using Helen's sample
3 matches
Mail list logo