Tim
--- In [email protected], "Gordon Smith" <[EMAIL PROTECTED]>
wrote:
>
> Get the 'columns' property from the DataGrid (which returns a copy
of the array used by the component), change it with Array APIs like
splice() or push(), then reset the 'column' property to your
modified array.
>
> - Gordon
>
>
> -----Original Message-----
> From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
> Sent: Tuesday, May 30, 2006 5:49 PM
> To: [email protected]
> Subject: [flexcoders] Re: F2B3: Dynamic data grid columns: where
are docs?
>
> NO, that doesn't work. It seems like you have to target the Array
> in the dataGrid that contains the columns, with something like push
> ().
>
> - TH
>
> --- In [email protected], "Tim Hoff" <TimHoff@> wrote:
> >
> > Tracy,
> >
> > Does this work? Couldn't find anything else.
> >
> > private var dgCol:DataGridColumn;
> > dgCol.dataField = dg.dataProvider.data.field;
> > // dg=yourDataGrid
> > dg.addChildAt(dgCol,0);
> >
> > -TH
> >
> > --- In [email protected], "Tracy Spratt" <tspratt@>
wrote:
> > >
> > > I can having difficulty finding out what replaces addColumnAt
().
> > >
> > > Tracy
> > >
> >
>
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> Yahoo! Groups Links
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

