+ Start a Discussion
prabhutumprabhutum 

How do you dynamically change column headers in VF page

Hello,

 

I am a newbie to Visual Force. To meet a requirement I have to dynamically change the field header/labels of datatable based on certain values in the Controller.

 

Could someone please tell me how it can be done? Any code snippet or link to code sample would be appreciated!

 

Thanks!

Pr@sh...

prabhutumprabhutum

I figured it.

 

 

<apex:column value="{!c.ii_Prod_CaseCount0}" headerValue="{!is_product_header0}" rendered="{!ib_display_prod0}" />

 

silly me...