You need to sign in to do that
Don't have an account?
Sourabh 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="{!acc.Acct.id}" />
<apex:facet name="header" >
<apex:inputCheckbox value="{!acc.Bl}" title="{!acc.Acct.Name}" label="{!acc.Acct.Name}"/>
</apex:facet>
</apex:column>
</apex:repeat>
</apex:PageblockTable>
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.
<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="{!acc.Acct.id}" />
<apex:facet name="header" >
<apex:inputCheckbox value="{!acc.Bl}" title="{!acc.Acct.Name}" label="{!acc.Acct.Name}"/>
</apex:facet>
</apex:column>
</apex:repeat>
</apex:PageblockTable>
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 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 : http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_selectRadio.htm