It doesn't have to be an ArrayCollection - any of the 'collection' classes share properties/methods. You can always apply a filterFunction and dynamically call it with refresh();
CF/Flex natively returns a query as an ArrayCollection if you define your destination variable as such (I object to Object;), so as long as you shouldn't need to cast it. See the post above. On Fri, Jun 27, 2008 at 2:39 PM, Joseph Kevin Breuer <[EMAIL PROTECTED]> wrote: > Andrew, > > No that is exactly what you do. > > public var data:ArrayCollection; > > ...... > > data = event.result as ArrayCollection; > > Joseph > > On Fri, Jun 27, 2008 at 1:34 PM, Fox, Andrew J <[EMAIL PROTECTED]> > wrote: >> >> Here's another noob question: If I want to use a form to filter the >> results in a datagrid that's populated by a RemoteObject that refers to a >> CFC calling a stored procedure, do I need to cast the result as an >> ArrayCollection? It seems like there should be a better way to take >> advantage of the result being something Flex already understands. >> >> Thanks again, >> >> -- >> Andy Fox >> Systems Analyst III >> Georgia Tech OIT-EIS >> >> >> >> ------------------------------------------------------------- >> To unsubscribe from this list, simply email the list with unsubscribe in >> the subject line >> >> For more info, see http://www.affug.com >> Archive @ http://www.mail-archive.com/discussion%40affug.com/ >> List hosted by http://www.fusionlink.com >> ------------------------------------------------------------- >> >> > > > ------------------------------------------------------------- > To unsubscribe from this list, simply email the list with unsubscribe in the > subject line > > For more info, see http://www.affug.com > Archive @ http://www.mail-archive.com/discussion%40affug.com/ > List hosted by FusionLink > ------------------------------------------------------------- -- Darin Kohles RIA Developer ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
