function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
KeithlarsKeithlars 

Cannot overwrite column title in pageBlockTable

Why doesn't the code below overwrite the column header. 

                   

<apex:column value="{!c.Firstname}" title="Name"></apex:column>

 

"First Name" is being displayed instead of "Name"

 

 

mtbclimbermtbclimber
Try the headerValue attribute on column.
KeithlarsKeithlars
That worked.  Thanks.  But what is title and headertitle for then?
mtbclimbermtbclimber

Title is the pass through attribute for the title on the generated td html element, headertitle is the same but for the header cell only.

 

For more info on the standard title attribute in HTML go here.