John -

PhilFlash has lots of great sample code for CellRenderers, including a
radiobutton one.
http://philflash.inway.fr/dgratingrd/dgratingrd.html

best, - rajat

On 3/7/06, John Mark Hawley <[EMAIL PROTECTED]> wrote:
>
> I have need of a DataGrid with one column filled with CheckBoxes, and
> another column filled with RadioButtons. The RadioButtons should all be in
> the same RadioButtonGroup. I put together CellRenderers for these two
> columns, and everything *almost* works.
>
> Problems:
>
> No RadioButtonGroup is ever constructed by my radioButtons, for one thing.
> RadioButton.as should be building a Group as soon as it sees the need for
> one. I've monkeyed with my cellrenderer to keep track of the selected
> radioButton and deselect all other radioButtons  as needed, so this
> shouldn't be a huge problem.
>
> Clicking a checkBox affects the radioButton in the same row, without rhyme
> or reason.
>
> Does anyone have yet more cellrenderer code they can share, with
> radioButtons and checkboxes playing happily together? RadioButton
> cellRenderer code seems very hard to come by.
>
> (I know this sounds like a very stupid looking dataGrid, and there are
> much better ways to present the data -- but I have to match the HTML version
> of the table in dispute as closely as possible.)
>
> -Mark Hawley
>
> --
> John Mark Hawley
> The Nilbog Group
> 773.968.4980 (cell)
>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



--
Rajat Paharia
[EMAIL PROTECTED]
http://www.bunchball.com
http://www.rootburn.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to