Here's an example using coldfusion flash forms, you shouldn't have problems 
using the function in a Flex app.
http://www.asfusion.com/blog/entry/filtering-a-grid-as-you-type---using
 
Philippe

________________________________

From: [email protected] on behalf of Rick Englert
Sent: Thu 17/11/2005 18:07
To: [email protected]
Subject: RE: [flexcoders] advanced datagrid filtering


Can you post the URL for this example?  I'd be interested in seeing it.

Thanks, Rick
-----Original Message-----
From: davidjebo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 16, 2005 9:35 AM
To: [email protected]
Subject: [flexcoders] advanced datagrid filtering


I found an example online that allows you to filter a datagrid by 
typing values into a text field.  The problem i can only get it to 
work with xml not with a remote object.


XML

var name = employeeModel.employee[i].name;





REMOTE OBJECT

how could I write something like this so I could get the data of one 
column  of the remote object data for the column "name"?



<mx:RemoteObject id="employeeModel" fault="mx.controls.Alert.show
(event.fault.faultstring, 'Error')" 

source="getData"  endpoint="@ContextRoot()/flashservices/gateway" 
showBusyCursor="true">

<mx:method name="getEmployees"/>

</mx:RemoteObject>



for(var i = 0; i < employeeModel.getEmployees.result.length; i++ ){

var name = employeeRO.getEmployees.result[i].name;



mx.controls.Alert.show(name);

}






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 



--------------------------------------------------------------------------------
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. 


--------------------------------------------------------------------------------




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 



________________________________

YAHOO! GROUPS LINKS 


        
*        Visit your group "flexcoders 
<http://groups.yahoo.com/group/flexcoders> " on the web.
          
*        To unsubscribe from this group, send an email to:
         [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
          
*        Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
<http://docs.yahoo.com/info/terms/> . 


________________________________



------------------------------------------------------------------
**STATEMENT OF CONFIDENTIALITY** 

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.
------------------------------------------------------------------



------------------------ Yahoo! Groups Sponsor --------------------~--> 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/WpTY2A/izNLAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<<winmail.dat>>

Reply via email to