You need to sign in to do that
Don't have an account?

Floating Header in the a Visual force page
Hello,
I am trying to make the header row static on the VF page, such that when the users scroll down the page the first row remains there and users are able to see the row data along with the Column headers (just like it happens in Excel when the top panes are frozen).
Can someone provide any pointers ?
Thanks
Amit
I used jQuery and followed this to accomplish the same thing.
http://ruturaj.net/automatic-header-stick-to-scroll-with-jquery/
All Answers
I used jQuery and followed this to accomplish the same thing.
http://ruturaj.net/automatic-header-stick-to-scroll-with-jquery/
<apex:page >
<style>
#testcss{
position: fixed;
width:100%
}
</style>
<div id='testcss'>
<apex:pageBlock >
<apex:pageBlockSection title="test">
</apex:pageBlockSection>
</apex:pageBlock>
</div>
</apex:page>
Thanks Val, i followed the solution you pointed to, it worked like a charm.