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
KVaishnaKVaishna 

floating table/column headers in Visualforce page

Hi,

 

How can we get floating column/table headers in Visualforce page?

 

Is there any other option without using Javascript?

 

Thanks,

-Kunjan

kiranmutturukiranmutturu

floating means you want to move the labels from left to right or what?

ministe2003ministe2003

I think he means that, like on the reports, he wants the headercolumns to go up and down as you scroll through the page.

 

Not possible just with Visualforce I'm afraid, however you dont need to script it, you can do it with div tags.  Here's an exaple, not VisualForce but adaptable im sure.

 

http://www.codeproject.com/KB/scripting/HTMLFixedHeaders.aspx

 

Steven

KVaishnaKVaishna

Thanks Steven. Right I'm looking for floating headers like this.

 

Let me see how can I use this in my code.

 

Thanks,

-Kunjan

KVaishnaKVaishna

Kiran,

 

I am looking for what Steven has said. Floating header like on the reports, where the headercolumns to go up and down as you scroll through the page.

 

Thanks

-Kunjan

ministe2003ministe2003

Did you get it sorted?  Would be interesting to see your html if you have.