Break the code into smaller pieces and debug to see what is wrong.
Tracy Spratt, Lariat Services, development services available _____ From: [email protected] [mailto:[email protected]] On Behalf Of chigwell23 Sent: Thursday, August 27, 2009 2:40 AM To: [email protected] Subject: [flexcoders] Apply filterFunction to datagrid XMLListCollection dataprovider question private function filterRepRankDtlChnl(item:Object):Boolean{ if(item.results.record.chnl_cd == "PREM") return true; else return false; } Filter is not filtering and I think it maybe item.results.record.chnl_cd - the item:Object is in this format: item ...<results> ......<record> .........<chnl_cd> .........<rep_nm> etc What is the correct "path" for chnl_cd and might this be the problem? TIA, Mic.

