function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sourabh Tayal 5Sourabh Tayal 5 

how to display dynamic radio button in side a repeat inside of a datatable/pageblocktable?

I am using apex:repeat inside of a datatable/pageblocktable. Here is my code:

<apex:PageblockTable value="{!List}" var="fieldName"  cellPadding="4">
<apex:column value="{!fMap[fieldName]}" width="30"/>      
        <apex:repeat value="{!ListWrapCls}" var="acc">
                  <apex:column width="20">
                  <input type="radio" name="{!fieldName}" class="{!}" />
                 <apex:facet name="header" >
                           <apex:inputCheckbox value="{!acc.Bl}" title="{!acc.Acct.Name}"                                                       label="{!acc.Acct.Name}"/>

how can i display radiobuttons inside of a repeat inside of a datatable/pageblocktable and maintain there values(true/false) using wrapper class?
Please help me regarding this.
Abhinav GuptaAbhinav Gupta
For TRUE/FALSE behaviour Checkbox looks like a better fit in pageblocktable. Can you please share your Apex Model you want to present in Grid. Make sure it complies with this example for each row  :