Tim, thanks ... yeah I did discover that.
 
My RadioButtons have:     groupName="{(data.parent())[EMAIL PROTECTED]"
 
My only issue now is that there are *multiple* RadioButtonGroups in my app, and I need to set the id of each one from the XML I've read in. It seems that the id can only be of type text? I'd like it to be  of the form as above, i.e. id="{(data.parent())[EMAIL PROTECTED]" , but it doesn't seem to work.
 
Cheers
J
 
-----Original Message-----
From: Tim Hoff [mailto:[EMAIL PROTECTED]
Sent: Saturday, 5 August 2006 8:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: RadioButtons as customItemRenderers/Editors in DataGrids

Hi John,

To get the RadioButtons inside an itemRenderer to work together, you need to associate them with a common RadioButtonGroup.  Place this tag right above the DataGrid in your application:

<mx:RadioButtonGroup id="myRadioButtonGroup"/>

Then, use code like this in your itemRenderer:

<mx:RadioButton id="myRadioButton" group="{parentApplication.myRadioButtonGroup}"/>

-TH

--- In flexcoders@yahoogroups.com, "John Mazzocchi" <[EMAIL PROTECTED]> wrote:
>
> The subject line pretty much says it all ... has anyone had any experience with this? The problem being that the RadioButtons, each one created by a customItemEditor/Renderer and appearing one per row in a DataGrid, seem to act independently of each other ...
>
> Ta.
> John
>

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to