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
kito kidkito kid 

customize Pageblock width

As I am using a lot of columns in Page block table, the width of page block table overflow the Page block width.

It looks quite bad as the width of page block is smaller and it appears on behind.

 

How can make Page block width also adjusted with page block table width?

Sonam_SFDCSonam_SFDC

Hi Kito,

 

You can set the width height of the page block as shown in the following example:

<apex:pageBlock  title="abcd"><div id="InnternalDiv" style="height:1000px;"></div></apexpageBlock>
Hope this helps!