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
sfdcianpsfdcianp 

How to use scrollbar for pageblocktable

How to use scrollbar for pageblocktable

 

Thanks

sandeep@Salesforcesandeep@Salesforce

This will be automatically comes if you fix height of container of this table.

NewInternNewIntern

If you're talking about adding a scrollbar to your VF page that you place in an object page layout, you can go to VF page properties and check the option to "Show Scrollbars". This picture should help:

 

http://i.stack.imgur.com/QByMf.png

SachinSankadSachinSankad

Hi,

 

There is no any special attribute for scrollbar in pageblocktable.

Similarly, you can not set height to pageblocktable. 

 

You need to use style tag to set height.

 

This link might be useful for you.

http://boards.developerforce.com/t5/Apex-Code-Development/Pageblock-table-with-Scrollbars/td-p/297817

Thanks,

Sachin.