Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3345922
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:14:33+00:00 2026-05-18T01:14:33+00:00

I successfully created tables with style that salesforce provided. (like the one that highlighted

  • 0

I successfully created tables with style that salesforce provided. (like the one that highlighted on mouseover etc)

But I want the value of column to be a link to display detail info of the object.
When I don’t create my own visualforce page, the table looks nice and the column
values (records) are all hyperlinked but can’t figure out how to do it from visualforce apex code.

pageBlockTable and column definition does not seem to have attributes or anything that
make it hyperlink.

http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageBlockTable.htm
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_column.htm

<apex:pageBlock title="test">
    <apex:pageBlockTable value="{!workObj}" var="item">
        <!-- below needs to be hyperlink -->
        <apex:column value="{!item.name}" /> 
    </apex:pageBlockTable>
</apex:pageBlock>

I could achieve my goal by throwing the good design away like below but I would like to keep the code above.

This works but no salesforce style is applied.

 <apex:pageBlock title="my test title" >    
            <apex:dataTable value="{!workObj}" var="wn" cellpadding="2" cellspacing="2">
                <apex:column>
                    <apex:facet name="header">仕事名一覧</apex:facet>
                    <apex:form >
                        <apex:commandLink value="{!wn.name}" />
                    </apex:form>
                </apex:column>
            </apex:dataTable>
    </apex:pageBlock>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T01:14:34+00:00Added an answer on May 18, 2026 at 1:14 am

    Instead of <apex:column value="{!item.name}" />, try doing it like this in the column body:

    <apex:pageBlock title="test">
            <apex:pageBlockTable value="{!workObj}" var="item">
             <apex:column>
                  <apex:outputLink value="{!item.name}">{!item.name}</apex:outputLink>
             </apex:column>
        <apex:pageBlock title="test">
    <apex:pageBlockTable value="{!workObj}" var="item">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I'm a newbie to TDD, and I successfully created a nice little sample
Has someone successfully overridden the scoring of documents in a query so that the
Has anyone successfully implemented a Java based solution that uses Microsoft SQL Server 2005
I can successfully connect to MySQL from a DOS prompt, but when I try
I can successfully include main jquery files in /Scripts, but if my custom test.js
I made a blog database and created some tables in it. I have wriTten
I have successfully created a WCF RIA service by creating DomainService class and accessing
I have a table successfully created in MySQL: CREATE TABLE IF NOT EXISTS MESSAGE
I have successfully connected to an Oracle database (10g) from C# (Visual Studio 2008)
Has anyone successfully talked profibus from a .NET application? If you did, what device/card

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.