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);
}
------------------------ 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/