I have a VF Page which displays the values from different object as a table. I need to perform the row based calculation in that table. Please find below the example and help me out in solving this
Rl R2 Total Total(%) A 25 25 50 B 50 75 125
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Hi All
I have a VF Page which displays the values from different object as a table. I need to perform the row based calculation in that table. Please find below the example and help me out in solving this
Rl R2 Total Total(%) A 25 25 50 B 50 75 125
<table>
<tr>
<th>R1</th>
<th>R2</th>
<th>Total</th>
<th>Total(%)</th>
</tr>
<apex:repeat value="{!objects}" var="nextObject">
<tr>
<td>{!nextObject.R1__c}</td>
<td>{!nextObject.R2__c}</td>
<td>{!nextObject.Total__c}</td>
<td></td>
</tr>
</apex:repeat>
</table>
Are you trying to calculate the Total(%)?