var oneRow:Object = ObjectUtil.getClassInfo
(gridObj.dataProvider.getItemAt(0));
does return an object but it does not have a list of fields names.

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> getClassInfo(gridObj.dataProvider.getItmeAt(0) should return that 
list.
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Friday, January 18, 2008 3:24 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Get fields from dataProvider
> 
> 
> 
> Yes, gridObj.dataProvider.getItemAt(0) will return a row that might 
> look like this:
> <consistpersonnel1>
> <id>18</id>
> <consistnum>1</consistnum>
> <header_id>1</header_id>
> <person>2</person>
> <name>wewr</name>
> <worknum/>
> </consistpersonnel1>
> But how do I get names of fields:
> id, consistnum, header_id, and so forth?
> 
> Thanks
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%
40yahoogroups.com>
> , "Alex Harui" <aharui@> wrote:
> >
> > gridObj.dataProvider.getItamAt(0)
> > 
> > ________________________________
> > 
> > From: flexcoders@yahoogroups.com <mailto:flexcoders%
40yahoogroups.com>
> 
> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%
40yahoogroups.com>
> ] On
> > Behalf Of markgoldin_2000
> > Sent: Friday, January 18, 2008 8:33 AM
> > To: flexcoders@yahoogroups.com <mailto:flexcoders%
40yahoogroups.com> 
> > Subject: [flexcoders] Re: Get fields from dataProvider
> > 
> > 
> > 
> > I am executing this line of the code:
> > var ClassInfo:Object = ObjectUtil.getClassInfo
> (gridObj.dataProvider);
> > but I am not sure I can see a list of the fields. Am I doing 
> > something wrong?
> > 
> > -- In flexcoders@yahoogroups.com <mailto:flexcoders%
40yahoogroups.com>
> <mailto:flexcoders%
> 40yahoogroups.com> ,
> > "Alex Harui" <aharui@> wrote:
> > >
> > > ObjectUtil.getClassInfo()
> > > 
> > > 
> > > 
> > > ________________________________
> > > 
> > > From: flexcoders@yahoogroups.com
> <mailto:flexcoders%40yahoogroups.com>  <mailto:flexcoders%
> 40yahoogroups.com>
> > 
> > [mailto:flexcoders@yahoogroups.com
> <mailto:flexcoders%40yahoogroups.com>  <mailto:flexcoders%
> 40yahoogroups.com>
> > ] On
> > > Behalf Of markgoldin_2000
> > > Sent: Thursday, January 17, 2008 2:48 PM
> > > To: flexcoders@yahoogroups.com <mailto:flexcoders%
40yahoogroups.com>
> <mailto:flexcoders%
> 40yahoogroups.com> 
> > > Subject: [flexcoders] Get fields from dataProvider
> > > 
> > > 
> > > 
> > > How can I extract a list of fields from DataGrid's 
dataProvider? 
> I 
> > need 
> > > it ftom dataProvider because not all data is shown in the grids.
> > > 
> > > Thanks
> > >
> >
>


Reply via email to