+ 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.