Also change this:

col.dataField=gradebookBySection[i].children()[email protected]();

to this:

col.dataField = "@grade";

-Josh

2009/4/24 Tracy Spratt <[email protected]>

>
>
>  Generate your columns as you are, you said that was working.  But you
> still have to give the datagrid the data.  How/are you doing that?  Note, do
> not use XMLList if you are binding.
>
>
>
> Tracy Spratt,
>
> Lariat Services, development services available
>   ------------------------------
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Jonathan Ackerman
> *Sent:* Thursday, April 23, 2009 1:19 PM
> *To:* [email protected]
> *Subject:* Re: [flexcoders] Working With Dynamic Datagrid
>
>
>
>
>
>
>  Hi Tracy,
>
> Thanks for writing back. I did assign the XMLList to a variable and I could
> assign that variable to the datagrid.
>
> However, since I have to create datadrigcolumns dynamically, wouldn't that
> not work right? In assigning the variable to the datagrid without any other
> work I would have to specify the number of columns that it fills no?
>
>   
>



-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

Josh 'G-Funk' McDonald
  -  [email protected]
  -  http://twitter.com/sophistifunk
  -  http://flex.joshmcdonald.info/

Reply via email to