Hi
I found that using a functionLabel can help here , but i thought
there is a shortcut way to do this , instead of a dedicated method for each
"complex" column. i've
tried something like this and it didn't work
<mx:DataGridColumn columnName="contactInfo.email"
headerText="Email"> <mx:DataGridColumn columnName="name" headerText="Employee
Name">
Shlomi
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin Sent: Monday, May 09, 2005 06:08 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DatagridColumn binding to a webservice result Have you tried setting
the columnName property on the DataGridColumn? From:
Hi How is it possible to
bind a property of a "child object" to a datagrid
column. for example
lets say a webservice
result is an array of Employee which has a member named Contact which has a
property "email". how can i make the
email be displayed along with the name. ? here are the
classes public class
ContactInfo{
private
String email ; public
String getEmail(){
}
} public class Employee
{
Contact contact; }
______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ Yahoo! Groups Links
|
Title: Mercury Email Signature