function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
<apex:page standardController="Account" recordSetVar="accounts" showHeader="false" applyHtmlTag="true" applyBodyTag="true" > <table style="width:100%; border: solid black;" > <tr style="border: solid black;"> <th style="border: solid black;">Name:</th> <apex:repeat value="{!accounts}" var="ct"> <td style=" border: solid black;">{!ct.Name}</td> </apex:repeat> </tr> <tr style="width:100%; border: solid black;"> <th style="border: solid black;">Phone:</th> <apex:repeat value="{!accounts}" var="ct"> <td style="border: solid black;"> {!ct.Phone} </td> </apex:repeat> </tr> </table> </apex:page>
Please use below code which is working for Accounts. make changes in code according to Contact Object. Please mark as best answer if helped.
Regards,
Ramakant
Follow this vertical style. I think this will resolve your problem.
Sol:-
<table>
<tr>
<th>First Name</th>
<td>Ankit</td><td>Brijesh</td><td>Manish</td>
</tr>
<tr>
<th>Last Name</th>
<td>Singh</td><td>Kumar</td><td>Tyagi</td>
</tr>
<tr>
<th>Phone</th>
<td>1234</td><td>1589651</td><td>4951651</td>
</tr>
<tr>
<th>Email</th>
<td>ankit@gmail.com</td><td>brijesh@gmail.com</td><td>manish@gmail.com</td>
</tr>
</table>
Result:-
Is this helpful for you?
Thanks,
Ujwal K