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
OnDem DevOnDem Dev 

What is the Solution to adjust the height of the Visualforce page on a detail page?

Hi,

 

I have a Visualforce page which is embedded on a Custom object detail page.

The height of the Visualforce page gets changed dynamically.

If only one record is displayed, the remaining section is shown in white colour.

If there are more records, then most of the content is not shown because of the section height.

 

So how can i adjust the height dynamically.

 

Is there any other solution, through which i can achieve this.

 

Thanks in advance,

OnDem 

 

JeremyKraybillJeremyKraybill

This thread should cover what you are trying to do. I use the technique in a few places, and it works fine in both Winter and Spring releases.

 

Jeremy Kraybill

Austin, TX