Hi, Jurgen,

Not sure how you can do this within the DataGrid Control itself.   Can
you please elaborate?
I would like to bind Physician.Firstname to the DataField.

JT

--- In [email protected], Jurgen Beck <[EMAIL PROTECTED]> wrote:
>
> When returning a result set, make sure you are accessing the proxy
> through the object property:
>
> var myObject:yourVO = event.result.object as yourVO;
>
> Jurgen
>
> ehsiao_bea wrote:
> >
> >
> > I am calling a web service and the objects are being wrapped with
> > mx.utils.objectProxy. However, I can't seem to get the property from
> > the objectProxy by calling the getProperty method.
> >
> > <mx:DataGrid x="21" y="230" id="PatientRecord" width="792"
> > dataProvider="{wsGetPatientData.getByPatientId.lastResult}">
> > <mx:columns>
> >
> > <mx:DataGridColumn headerText="Symptoms"
> > dataField="Symptoms"/>
> > <mx:DataGridColumn headerText="Diagnosis"
> > dataField="Diagnosis"/>
> > <mx:DataGridColumn headerText="Notes" dataField="Notes"/>
> > <mx:DataGridColumn headerText="Physican"
> > dataField="Physician.getProperty(FirstName)"/>
> >
> > </mx:columns>
> >
> > Symptons, Diagnosis and Notes are coming back ok. Physician is a
> > objectproxy and I would like to get the "FirstName" QName from it. I
> > can see it in the debugger but the getProperty call does not seem to
> > do anything for me. Any hints?
> >
> > Thanks,
> > JT
> >
> >
>


Reply via email to