Thanks Alex for the fast response..! Much appreciated. I'll checkout the labelFunction.
I had been reading Adobe Flex 2, Training from the Source, and on page 269 they have a "tip" that says the DGColumn can resolve property.property references so I was trying to make that work... Paul --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > That dg columns don't support dot-path expressions. Most places in Flex > don't as it requires an eval and slows things down. > > > > You can use labelFunction to dig deeper. > > > > -Alex > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of paulwelling > Sent: Monday, March 19, 2007 12:14 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] DataGridColumn not handling property.property > references in Webservice Result > > > > Hello, > > I have a WebService that returns an ArrayCollection of ObjectProxys. > > Each ObjectProxy in the collection contains primative data types as > well as other complex ObjectProxys. > > I have no problem accessing the primative data types at the top level > in an ObjectProxy, for the 'datafield' of the DataGridColumn. > > But I can't access any nested ObjectProxy's property using the dot > operator ("property.property") even though it is clearly displayed and > accessible in the FB debugger. > > <mx:DataGridColumn dataField="numBoxes" headerText="Box Count"/> > //Displays number > <mx:DataGridColumn dataField="address.addressName" > headerText="From"/> //Nothing > > What have I overlooked..? > > Thanks, > Paul >