Activity Forums Salesforce® Discussions How do I create a table with more than one column from a single list?

  • Ajit

    Member
    May 24, 2016 at 9:37 am

    Hey Ravi,

    Its very simple, but need to see your vf page code because if you are using Data table then this can be done but we can do this by using apex:repeat and by using HTML tags.

    <table>
    <tr>
    <apex:repeat value="{!testList}" var="tc" />
    <td>
    <apex:outputText  value="{!tc.test1}"/><br />
    <apex:outputText value="{!tc.test2}"/><br />
    <apex:outputText value="{!tc.test3}"/><br />
    </td>
    </apex:repeat>
    </tr>
    </table>

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos