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, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > gridObj.dataProvider.getItamAt(0) > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of markgoldin_2000 > Sent: Friday, January 18, 2008 8:33 AM > To: flexcoders@yahoogroups.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> , > "Alex Harui" <aharui@> wrote: > > > > ObjectUtil.getClassInfo() > > > > > > > > ________________________________ > > > > From: flexcoders@yahoogroups.com <mailto:flexcoders% 40yahoogroups.com> > > [mailto:flexcoders@yahoogroups.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> > > 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 > > >