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
BA_AdminBA_Admin 

Scrolling doesn't works in Dashboard

Hello,

   Iam using VF page in dashboard , since i have more fields ande values to display in VF, i need to use scrolling functionality within the dashboard component so here is what i have and the scrolling doesn't works, ane help is appreciated

 

<apex:page controller="retrieveCase" >
     <apex:pageBlock >
    <apex:outputPanel  layout="block" style="over-flow:auto;width:600px;height:350px" >
     <apex:pageBlockTable value="{!cases}" var="c">     
            <apex:column value="{!c.status}"/>
            <apex:column value="{!c.subject}"/>
             <<apex:column value="{!c.owner.name}"/>
                </apex:pageBlockTable>
     </apex:outputpanel>
     </apex:pageBlock>
    </apex:page>

Best Answer chosen by Admin (Salesforce Developers) 
BA_AdminBA_Admin

it worked by using overflow:scroll by giving width and height exactly

All Answers

IspitaIspita

Hi,

I think you need to set the scrolling property to true for the component thus added

 

Hope this helps....

BA_AdminBA_Admin

Could you please tell me where to exactly add that in my code?

IspitaIspita

Hi,

iframe can be given scrollable property  bur w.r.t. VF component of dashboard one doesnt know where to assign that ... let me figurev that out as in sections of standard page layout one can specify the scrollable property but the same doesn't seem to exist with dashboard.

BA_AdminBA_Admin

but do you know what is the tag that we use for scrolling in VF ?,

BA_AdminBA_Admin

it worked by using overflow:scroll by giving width and height exactly

This was selected as the best answer