of using
labelFunction with XML on the same site above.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Fidel Viegas
Sent: Friday, May 23, 2008 2:32 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Populating Datagrid
On Fri, May 23, 2008 at 1:20 AM, kenny14390 <[EMAIL PROTECTED]> wrote:
>
> I am calling a PHP page, which reads my entire database and formats it
> to output as valid XML. How can I set this as the data provider for a
> Datagrid component? I know what the columns are, but not the number of
> rows n
be
> Crime Drama
>
> - Original Message
> From: CK <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Saturday, January 19, 2008 3:36:45 PM
> Subject: Re: [flexcoders] Populating DataGrid
>
> Hi,
>
> An unterminated element in the XML. Thanks.
>
, 2008 3:36:45 PM
Subject: Re: [flexcoders] Populating DataGrid
Hi,
An unterminated element in the XML. Thanks.
Chris
On Jan 19, 2008, at 1:19 PM, Clint Tredway wrote:
>
> Try this:
>
> Import mx.utils.ObjectUtil
>
>
>
> And then trace out the result to make sure you ar
Of CK
> Sent: Saturday, January 19, 2008 3:21 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Populating DataGrid
>
>
>
> Hi,
>
> Yes using e4x, however evt.result.dvd, did not populate the grid.
>
> Chris
> On Jan 19, 2008, at 1:08 PM, Sherif Abdou wrote:
&g
this works
evt.result.dvd.*
- Original Message
From: CK <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Saturday, January 19, 2008 3:21:25 PM
Subject: Re: [flexcoders] Populating DataGrid
Hi,
Yes using e4x, however evt.result.dvd, did not populate the grid.
Chris
On
PROTECTED]
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of CK
Sent: Saturday, January 19, 2008 3:21 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Populating DataGrid
Hi,
Yes using e4x, however evt.result.dvd, did not populate the grid.
Chris
On Jan 19
Hi,
Yes using e4x, however evt.result.dvd, did not populate the grid.
Chris
On Jan 19, 2008, at 1:08 PM, Sherif Abdou wrote:
>
> evt.result.dvd instead, ur using e4x correct?
>
> - Original Message
> From: CK <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Saturday, Januar
evt.result.dvd instead, ur using e4x correct?
- Original Message
From: CK <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Saturday, January 19, 2008 2:20:36 PM
Subject: [flexcoders] Populating DataGrid
Hi all,
The following shorter code renders the dataGrid, but without data.
or in your datagrid datacolumn for the dataField just use
"@", such as "@name" or "@value".
for an xml such as this: var myXML:XML = ;
you can bind it to dataprovider like this: myGrid.dataprovider =
myXML.children();
which produces an XMLList which is bindable.
now, if you want to really bind
The XML:
The CODE:
http://www.adobe.com/2006/mxml"; layout="absolute"
creationComplete="init();dgRPC.send()">
On Tuesday 13 Feb 2007, Shidan wrote:
> Do I have to transform the xml to another data model format first?
No, you can use the labelFunction property of DataGridColumn to have the
results of a function displayed in the cell.
--
Tom Chiverton
Helping to authoritatively industrialize eye-catching
dhiren9 wrote:
Doing it like this does not work:
You could do this:
Manish
look at using the initialize attribute of the Application tag. You set thisto a
function and when the app loads, this function is fired.
BUT - in this case I would set the function on the grids creationComplete so
that when the grid is created the function will fire and your data will load.
--
14 matches
Mail list logo