Re: [flexcoders] Re: Get fields from dataProvider

2008-01-21 Thread Tom Chiverton
On Sunday 20 Jan 2008, markgoldin_2000 wrote: But the list of columnName(s) is what I am trying to get. As an alternative, look at dataGrid.columns -- Tom Chiverton Helping to enthusiastically incubate scalable information on: http://thefalken.livejournal.com

[flexcoders] Re: Get fields from dataProvider

2008-01-21 Thread markgoldin_2000
Yes, that could have been the source of that but in a generic situation not all data fields are shown in grids and grids in turn might have no data columns (images for example). So, the best is to get a list of fields straight from the dataProvider. --- In flexcoders@yahoogroups.com, Tom

RE: [flexcoders] Re: Get fields from dataProvider

2008-01-21 Thread Alex Harui
:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Monday, January 21, 2008 5:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Get fields from dataProvider Yes, that could have been the source of that but in a generic situation not all data fields are shown in grids and grids

[flexcoders] Re: Get fields from dataProvider

2008-01-21 Thread markgoldin_2000
: [flexcoders] Re: Get fields from dataProvider Yes, that could have been the source of that but in a generic situation not all data fields are shown in grids and grids in turn might have no data columns (images for example). So, the best is to get a list of fields straight from

RE: [flexcoders] Re: Get fields from dataProvider

2008-01-21 Thread Alex Harui
: [flexcoders] Re: Get fields from dataProvider I tried: trace(gridObj.dataProvider.generateColumns()); but it returns null. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: If you look at the datagrid source, there is a function called

[flexcoders] Re: Get fields from dataProvider

2008-01-20 Thread markgoldin_2000
Still not sure how to get this information out. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 18 Jan 2008, markgoldin_2000 wrote: I am executing this line of the code: var ClassInfo:Object = ObjectUtil.getClassInfo (gridObj.dataProvider); but I am

RE: [flexcoders] Re: Get fields from dataProvider

2008-01-20 Thread Dale Fraser
To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Get fields from dataProvider Still not sure how to get this information out. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 18 Jan 2008, markgoldin_2000 wrote: I am

[flexcoders] Re: Get fields from dataProvider

2008-01-20 Thread markgoldin_2000
Dale Fraser From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Monday, 21 January 2008 12:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Get fields from dataProvider Still not sure how to get this information out

[flexcoders] Re: Get fields from dataProvider

2008-01-19 Thread markgoldin_2000
. 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

[flexcoders] Re: Get fields from dataProvider

2008-01-18 Thread markgoldin_2000
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

[flexcoders] Re: Get fields from dataProvider

2008-01-18 Thread markgoldin_2000
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, Alex Harui [EMAIL PROTECTED] wrote: ObjectUtil.getClassInfo()

Re: [flexcoders] Re: Get fields from dataProvider

2008-01-18 Thread Tom Chiverton
On Friday 18 Jan 2008, markgoldin_2000 wrote: 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? Well, that will only get you an Array(Collection). Assuming

RE: [flexcoders] Re: Get fields from dataProvider

2008-01-18 Thread Alex Harui
@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