You need to sign in to do that
Don't have an account?
Shaan Khokhar 9
How to make first column excluded from apex repeat
Hi Everyone,
I am trying to make it so my html table has it so that it looks like this:
However, currently it looks more like this:
I know that the apex:repeat is causing the problem, would i be able to exclude the first column somehow?
Here's my table code:
I am trying to make it so my html table has it so that it looks like this:
However, currently it looks more like this:
I know that the apex:repeat is causing the problem, would i be able to exclude the first column somehow?
Here's my table code:
<table id = "table" style="width:50%"> <thead> <tr> <th title="Field #0"></th> <apex:outputPanel rendered="{!anyHourlyRatePopulated}" layout="none"> <th title="Field #1">Services</th> </apex:outputPanel> <apex:outputPanel rendered="{!anyHourlyRatePopulated}" layout="none"> <th title="Field #1">Hourly Rate</th> </apex:outputPanel> <apex:outputPanel rendered="{!any2HourRatePopulated}" layout="none"> <th title="Field #2">2 Hour Rate</th> </apex:outputPanel> </tr> </thead> <tbody> <apex:repeat value="{!qli}" var="opp"> <tr> <th scope ="row">Level 1</th> <td> L1 Hourly Rate Field </td> <td> " L1 2 Hour Rate Field " </td> </tr> </apex:repeat> <apex:repeat value="{!qli}" var="opp"> <tr> <th scope ="row">Level 2</th> <td> "L2 Hourly Rate Field" </td> <td> " L2 2 Hour Rate Field " </td> </tr> </apex:repeat> </tbody> </table>
Try with the apex:variable:
Please refer the below code:
Thanks,
Mahrajan.C