Activity Forums Salesforce® Discussions I want to make columns of pageBlockTable hyperlink, how to do this?

  • PRANAV

    Member
    August 26, 2016 at 12:53 pm

    Hi Tanu,

    You can make pageBlockTable columns hyperlink by using outputLink.

    For eg.

    <apex:pageBlockTable value="{!Account}" var="a"  >
    <apex:column headerValue="Account " >
    <apex:outputLink value="/{!a.id}">
    <apex:outputText value="{!a.id}">
    </apex:outputText>
    </apex:outputLink>
    </apex:column>

    Hope this helps you.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos