Mark, there is no such function on dataProvider. I'm surprised you
didn't get an error. Please read my replies carefully. There is no
function to do what you want to do directly. I was pointing you to an
example of how we use getClassInfo in the DG. But even when you get
that to work, you prob
If you look at the datagrid source, there is a function called
generateColumns which tries to introspect the data and generate the
column set. Naturally, nested fields aren't found, and unless the
fields have friendly names, your column headers end up looking like
"lastname" instead of "Last Name"
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
*
ClassInfo[row].columnName
But this will give you the same result without the ClassInfo use
gridObj.dataProvider[row].columnName
Regards
Dale Fraser
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Monday, 21 January 2008 12:56 AM
To: fle
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 fiel
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).
Assumin
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
7 matches
Mail list logo