so if its a checkbox how would i reference its selected value?

would i use
   httpDeleteService.request.manager =
parentDocument.testgrid.selectedItem.mycheckbox.selectedItem




--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> This, "parentDocument.mygrid.ID" will return a reference to the
> DataGridColumn object.  You want the value of the IDProperty on the
> dataProvider item that underlies the row/itemRenderer.
>
>
>
> You can get that through the "data" property of the renderer, or in
the
> set data() override, depending on how you have implemented the
renderer.
>
>
>
> Tracy
>
>
>
> ________________________________
>
> From: [email protected] [mailto:[EMAIL PROTECTED]
On
> Behalf Of flexcoderman
> Sent: Tuesday, June 10, 2008 11:54 AM
> To: [email protected]
> Subject: [flexcoders] item render inside grid passing param?
>
>
>
>
> when using a item renderer inside a data grid in flex 3
> how do i pass a id inside the grid
>
> example i have a grid column as
>
> <mx:DataGridColumn headerText="ID" dataField="ID" id="ID" />
>
> I have a button which throws an alert box up....
>
> Alert.show(parentDocument.mygrid.ID);
>
> but doesnt actually pull the id for the grid.
>
>
> All im trying to do is pass the id to the httpservice im posting to.
>
> anyone know of good examples on the net would be great
>


Reply via email to