__._,_.___-----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 DataGridsHi 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
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___