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
PravinPravin 

fixing header using pageblocktable

Hi

 

I am trying to fixed the header using <apex:pageBlockTable headerClass="#header-row{position:fixed;top:0;left:0; }">

using its "headerClass" attribute but its not worging .


 If any input will be much appreciate.

 

Thakns

Pravin.

 

 

 

 

jd123jd123

Hi Pravin 

 

you can try like this

 

<style>
        .headerStyle{background-color:#638658;color:#FFFFFF}
</style>

 

<apex:pageBlockTable value="{!acc}">

  <apex:column headerValue="{!something }" headerClass="headerStyle">

  

if your question is resolve please accept as a solution if not please let mw know

PravinPravin

 

 hi

I am trying to freez the header part of vf page in pageblockTable using attribute headerClass.

What i have to write in attribute headerClass of pageBlockTable

jd123jd123

hi

 

<style>
        .headerStyle{background-color:#638658;color:#FFFFFF}
</style>

 

<apex:pageBlockTable value="{!acc}">

  <apex:column headerValue="{!something }" headerClass="headerStyle">

 

you can write the style class and in the headerclass attribute you can write that class name.

PravinPravin

<style>
        .headerStyle{background-color:#638658;color:#FFFFFF}
</style>

 

Hi

Thanks for ur feedback ,

i am getting u also but for freezing the header part of the blocktable we have to write some css in headerStyle .

the things u have mentioned will change the header colour , i have to freez the header and data will flow behind it.

 

 

mcarajatchawla1.3944552360434958E12mcarajatchawla1.3944552360434958E12
This issue has been solved in 2003 i used updated jquery files for the same.Here is my blog for this.
http://apexfixheader.blogspot.in/