Don't use groupnames; they are global (at least, to an application).  I 
understand people like using group names, but for a cell-renderer, it's 
pretty easy to make a radio button selection straightforward.  Just forward 
all click events to a common Delegated function, and edit the field of the 
dataProvider.  Any setItem calls just set the appropriate radio button, and 
they'll take care of the actually selecting/deselecting.

----- Original Message ----- 
From: "maxgsilverscape" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, January 23, 2006 8:57 PM
Subject: [flexcoders] Radio Button Cell Renderer for Data Grids


I have created a custom cell renderer for a datagrid that displays four
radio buttons and creates a radiobuttongroup for them. The problem is
that the end result only allows one radio button to be selected for the
entire grid as opposed to one for each cell. Has anyone done anything
like this? Is there some means for generating a dynamically named
radiobuttongroup that I haven't figured out?

Any advice or examples would be appreciated.





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







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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to