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
Suresh RaghuramSuresh Raghuram 

vertical and horizontal scroll bar on the page block table.

Hi Communuty,

I want build a table with horizontal and vertical scroll bars which follow the following conditions conditions.

1) when I scroll vertical the headers should be locked and the entire rows can scroll up and down.
2) when I scroll horizontal the first column should be locked and the entire columns with headers can scroll.

Please share your suggestions and links.

Thanks.


KevinPKevinP
I'd suggest using javascript to implement this, as I'm not sure it's possible in pure visualforce (actually, i'm pretty sure it's NOT possible). Look at data grids like the Kendo data-grid or jQuery data grid for examples on how.
Suresh RaghuramSuresh Raghuram
I found  an exmple on Jquery , which is working fine but it is haveing onl;y static values mine are dynamic.
http://meetselva.github.io/fixed-table-rows-cols/