I would like to display help icon,on hover display helptext in apex column header.


<apex:column HeaderValue="Description" width="24%">
                <apex:outputField value="{!manWrap.manMil.Description__c}" rendered="{!NOT(manWrap.isEdit)}" />
                <apex:inputField styleClass="slds-input" value="{!manWrap.manMil.Description__c}" rendered="{!manWrap.isEdit}"/>


enter image description here

Work around: I have used pageBlockSectionItem, but it doesn't work as expected.


You must remove the headerValue property and replace it with a <apex:facet name="header">. Then in the facet you can add your text and icon, with the behavior you want.

see https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_facet.htm

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.