|
that's a killer, thanks
Philippe
Maegerman From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin Sent: vendredi 21 octobre 2005 4:35 To: [email protected] Subject: RE: [flexcoders] Data service results format: VO or XML? So in Flex 1.5 I would say that you're better off using value objects because the XML objects in Flex 1.5 are not that flexible for display in a DataGrid. But with Flex 2 the answer is: use XML by all means, that's what e4x is for! Unfortunately you can't do it in the alpha quite yet, but in the next build you'll see the XMLListCollection which can be used for all of the cases you mentioned:
1) myDG.dataProvider = new XMLListCollection(event.result.prices); 2) myDG.dataProvider = new XMLListCollection(event.result.shops); 3) myDG.dataProvider = new XMLListCollection([EMAIL PROTECTED] < 200]);
Neat huh?
Matt
From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Alberto Albericio
Salvador
Hello all, -- 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
YAHOO! GROUPS LINKS
------------------------------------------------------------------ This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus. |

