Or may I content filter in DataGrid ( all item I shown in datagrid ) and filtering when columnA constraint 'xxx' value ? How ? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sherif Abdou Sent: Wednesday, February 13, 2008 11:46 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Splitting Array Content , keyword by field content you can't use a for loop, maybe try a cursor instead "What you cannot do is iterate through the properties of an object if it is an instance of a user-defined class, unless the class is a dynamic class. Even with instances of dynamic classes, you will be able to iterate only through properties that are added dynamically."-Flex Doc ----- Original Message ---- From: Harry Saputra <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, February 12, 2008 10:33:44 PM Subject: RE: [flexcoders] Splitting Array Content , keyword by field content Check my code : arrJadwalPribadi = new ArrayCollection(event.result as Array); arrJadwalPribadi. refresh(); for (var item:Object in arrJadwalPribadi){ if (item.hari=='Senin') { senin.push(item); } else if (item.hari=='Selasa') { selasa.push(item); } .. I get ArrayCollection as Array from Weborb. When I try to this way, I get this error message : ReferenceError: Error #1069: Property hari not found on String and there is no default value. at siakad/::jadwalPribadiResult Handler() when I use variable arrJadwalPribadi on DataGrid, it's working. I use property hari on labelField too. What's wrong ? From: [EMAIL PROTECTED] ups.com <http://ups.com/> [mailto:flexcoders@ yahoogroups. com] On Behalf Of Gordon Smith Sent: Wednesday, February 13, 2008 10:42 AM To: [EMAIL PROTECTED] ups.com <http://ups.com/> Subject: RE: [flexcoders] Splitting Array Content , keyword by field content You shouldn't assume that a for-in or for-each-in loop will iterate over the items in any particular order. To ensure this, use a plain 'for' loop. Gordon Smith Adobe Flex SDK Team _____
Looking for last minute shopping deals? Find <http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearch/ca tegory.php?category=shopping> them fast with Yahoo! Search.
<<image001.jpg>>
<<image002.jpg>>