Check out the flex docs on the DataGrid.dataProvider property.
Basically you'll assign the result from CF to a variable and at the same time you'll bind the dataGrid to this variable. Flex will take care of the rest.
hth,
---nimer
- Original Message From: plucka70 <[EMAIL PROTECTED]>To: flexcoders@yahoogroups.comSent: Thursday, August 24, 2006 4:53:08 PMSubject: [flexcoders] Flex with Coldfusion Beginner
I'm a real beginner, and know CF inside out. So I want to use Flex 2. I've read a bit online and got a webservice call working displaying the current time from a cfc.Now I have a cfc generated using the wizard which is a database related one, not sure what to do from here. I seems to generate an array of objects, and each object defines a row in the table, this all makes sense.But how do get this into a flex data grid.I assume I need to loop over the array and populate the data grid using an Action Script function. Conceptually simple, but I'm hoping people can explain the best way to do this and perhaps post a simple sample that takes a table into a data grid.PS: I'd rather not use the full generate wizards available, I'd rather learn how to do it line by line on the Flex side.RegardsDale Fraserhttp://dale.
fraser.id. au
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Software development tool
Software development
Software development services
Home design software
Software development company
YAHOO! GROUPS LINKS
Visit your group "flexcoders" on the web.
To unsubscribe from this group, send an email to: [EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___