+ Start a Discussion
ArjunmcaArjunmca 

How to create radio button in side a table for each row

Hi,

 

I need to create radio button  inside a data table for each row dynamically.  The list size determines number of radio buttons to be created dynamically. I am able to create radio buttons statically. But i want to create radio buttons as many as the size of the list. Can any one provide sample code.

 

Thanks.

 

 

Bhawani SharmaBhawani Sharma
in your data list, you can use <input type="radio" id="cb" name="cb" />
asish1989asish1989

Hi

Please go through this link, There I have posted some code. You can check

 

http://boards.developerforce.com/t5/Visualforce-Development/Regarding-Radio-button-in-pageBlockTable/m-p/607227#M63135

 

Did this post solve your question if so please mark it as solved.

Hit kudos If it helps you.

 

 Thanks

 

HariniHarini

Try implementing it using Dynamic Visualforce components.