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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

PanelDashBoard with horizontal scrolling

Paul (MITsa)Apr 1 2025

Jdev 12.2.1.4

Hi

Is it possible to have a horizontal scroll bar on an af:panelDashboard.
I've tried with the layout below but the dashboard simply resizes the panels so that they all “fit”.
I tried width and min-width on the panels and children/parent/auto on the dashboard dimensions

Thks
Paul

<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document title="test.jspx" id="d1">
<af:form id="f1">
<af:panelStretchLayout id="psl1">
<f:facet name="start"/>
<f:facet name="end"/>
<f:facet name="top">
<af:panelGroupLayout layout="scroll">
<af:panelDashboard columns="8" rowHeight="200px" inlineStyle="min-width:600px;"
dimensionsFrom="children">
<af:panelBox text="Panel 1" inlineStyle="min-width:1500px;">

</af:panelBox>
<af:panelBox text="Panel 2" inlineStyle="min-width:1500px;">

</af:panelBox>
<af:panelBox text="Panel 3" inlineStyle="min-width:1500px;">

</af:panelBox>
<af:panelBox text="Panel 4" inlineStyle="min-width:1500px;">

</af:panelBox>
<af:panelBox text="Panel 5" inlineStyle="min-width:1500px;">

</af:panelBox>
<af:panelBox text="Panel 6" inlineStyle="min-width:1500px;">

</af:panelBox>
<af:panelBox text="Panel 7" inlineStyle="min-width:1500px;">

</af:panelBox>
<af:panelBox text="Panel 8" inlineStyle="min-width:1500px;">

</af:panelBox>
</af:panelDashboard>
</af:panelGroupLayout>
</f:facet>
<f:facet name="bottom"/>
<f:facet name="center"/>
</af:panelStretchLayout>
</af:form>
</af:document>
</f:view>
</jsp:root>

This post has been answered by Timo Hahn on Apr 2 2025
Jump to Answer
Comments
Post Details
Added on Apr 1 2025
2 comments
336 views