[flexcoders] Populating Datagrid

2009-07-28 Thread Josh Keller
I'm new to Flex (just started looking at it 2 days ago) but I've been working on this problem all day long. I'm trying to create and populate a datagrid based on field names specified in a CSV list, with separate data that is also going to be CSV but from a different source in the same order if

Re: [flexcoders] Populating Datagrid from Database

2008-05-23 Thread Fidel Viegas
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 nor the

RE: [flexcoders] Populating Datagrid from Database

2008-05-23 Thread Tracy Spratt
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

[flexcoders] Populating Datagrid from Database

2008-05-22 Thread kenny14390
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 nor the data (obviously). Thanks.

[flexcoders] Populating DataGrid

2008-01-19 Thread CK
Hi all, The following shorter code renders the dataGrid, but without data. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=dvdData.send() mx:Script ![CDATA[ import mx.rpc.events.*;

RE: [flexcoders] Populating DataGrid

2008-01-19 Thread Clint Tredway
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

Re: [flexcoders] Populating DataGrid

2008-01-19 Thread CK
, 2008 2:20:36 PM Subject: [flexcoders] Populating DataGrid Hi all, The following shorter code renders the dataGrid, but without data. ?xml version=1.0 encoding=utf- 8? mx:Application xmlns:mx=http://www.adobe. com/2006/ mxml layout=absolute creationComplete= dvdData. send() mx:Script ![CDATA

Re: [flexcoders] Populating DataGrid

2008-01-19 Thread Sherif Abdou
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 Jan 19

Re: [flexcoders] Populating DataGrid

2008-01-19 Thread CK
: [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: evt.result.dvd instead, ur using e4x correct? - Original Message From: CK [EMAIL PROTECTED] To: flexcoders

Re: [flexcoders] Populating DataGrid

2008-01-19 Thread Sherif Abdou
: Saturday, January 19, 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 are getting something

Re: [flexcoders] Populating DataGrid

2008-01-19 Thread CK
/genre - 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. Chris On Jan 19, 2008, at 1:19 PM, Clint Tredway wrote

Re: [flexcoders] Populating DataGrid from XML attributes

2007-02-16 Thread Andrey
or in your datagrid datacolumn for the dataField just use @attributename, such as @name or @value. for an xml such as this: var myXML:XML = usersuser name=blah value=asdf/users; you can bind it to dataprovider like this: myGrid.dataprovider = myXML.children(); which produces an XMLList which is

Re: [flexcoders] Populating DataGrid from XML attributes

2007-02-14 Thread Tom Chiverton
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

Re: [flexcoders] Populating DataGrid from XML attributes

2007-02-14 Thread Pablo
The XML: root item name value=Pete type=1 / city value=NY type=2 / phone value=33-22-555 type=1 / count value=10 type=1 / /item item name value=Pete2 type=2 / city value=NY type=1 / phone value=33-22-555 type=1 / count value=10

[flexcoders] Populating DataGrid from XML attributes

2007-02-13 Thread Shidan
I have xml that looks like this: user name=john param name=type value=nok/ param name=username value=john/ param name=password value=smith/ param name=p2p value=yes/ param name=host value=dynamic/ param name=port value=6954/ /user and I want to populate a

RE: [flexcoders] Populating DataGrid using Remote Object with arguments

2005-02-25 Thread Clint Tredway
. -Original Message- From: dhiren9 [mailto:[EMAIL PROTECTED] Sent: Friday, February 25, 2005 3:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Populating DataGrid using Remote Object with arguments Hi, I've gone through examples where I can call a remote object by clicking

Re: [flexcoders] Populating DataGrid using Remote Object with arguments

2005-02-25 Thread Manish Jethani
dhiren9 wrote: Doing it like this does not work: mx:DataGrid id=dg3 dataProvider=remoteTagInfo.getList ('ENG').result width=100% /mx:DataGrid You could do this: mx:DataGrid id=dg3 dataProvider=remoteTagInfo.getList.result width=100% creationComplete=remoteTagInfo.getList('ENG') /mx:DataGrid Manish