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.
--------------------------------------------------------------------------------
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/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/