Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Panel Dashboard not resizing when rowHeight is modified in javascript

RakeshPandaFeb 21 2014 — edited Feb 21 2014

Hi

I have a page layout where I am using PanelDashboard for rendering panelboxes as content showing company information. I have a top collapsible header info above the dashboard. I am trying to resize the dashboard to provide more rowheight if top header is collapsed, so that content scrollbar is not shown.

I tried setting the rowheight of the dashboard using javascript function on the collapse action of top header info.

In alert statement the new rowHeight is printed but on the page the component does not resize.

var dashboard = AdfPage.PAGE.findComponentByAbsoluteId('pt1:ent_sec3_dashboard');

                  alert(dashboard.getRowHeight()); // 400px

                  dashboard.setRowHeight("600px");

                  alert(dashboard.getRowHeight()); // 600 px

I am using Jdev 11.1.2.1 version

Thanks,

Rakesh

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 21 2014
Added on Feb 21 2014
4 comments
214 views