RE: [flexcoders] DatagridColumn binding to a webservice result
Title: Mercury Email Signature Hi Ifound 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 ChotinSent: Monday, May 09, 2005 06:08To: flexcoders@yahoogroups.comSubject: 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 CohenSent: Sunday, May 08, 2005 7:15 AMTo: '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 Stringemail ; 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 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 the Yahoo! Terms of Service.
RE: [flexcoders] DatagridColumn binding to a webservice result
Title: Mercury Email Signature No, that wont 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 Ifound 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 achild 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 Stringemail ; 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 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 the Yahoo! Terms of Service.
[flexcoders] DatagridColumn binding to a webservice result
Title: Mercury Email Signature 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 Stringemail ; 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 __ 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 the Yahoo! Terms of Service.
RE: [flexcoders] DatagridColumn binding to a webservice result
Title: Mercury Email Signature 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 achild 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 Stringemail ; 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 __ 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 the Yahoo! Terms of Service.