Also change this:

col.dataField=gradebookBySection[i].children()....@grade.toxmlstring();

to this:

col.dataField = "@grade";

-Josh

2009/4/24 Tracy Spratt <tr...@nts3rd.com>

>
>
>  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:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *Jonathan Ackerman
> *Sent:* Thursday, April 23, 2009 1:19 PM
> *To:* flexcoders@yahoogroups.com
> *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
  -  j...@joshmcdonald.info
  -  http://twitter.com/sophistifunk
  -  http://flex.joshmcdonald.info/

Reply via email to