Title: Mercury Email Signature

No, that won’t work.  You will need to stick with the labelFunction.

Tracy

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shlomi Cohen
Sent: Monday, May 09, 2005 2:47 AM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] DatagridColumn binding to a webservice result

 

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:flexcoders@yahoogroups.com] 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: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shlomi Cohen
Sent: Sunday, May 08, 2005 7:15 AM
To: 'flexcoders@yahoogroups.com'
Subject: [flexcoders] DatagridColumn binding to a webservice result

 

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
______________________________________________________________________


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________



Yahoo! Groups Links

Reply via email to