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!

ADF Table: How to eliminate horizontal scrollbar?

rade.todorovichFeb 5 2014 — edited Feb 6 2014

JDeveloper 12.1.2

I have a scenario where I have to display two tables on a page, horizontally, one after the other. Both tables cannot have horizontal scroll-bars, this is the core requirement, ie whatever the content of the table is, table(s) must stretch (in theory indefinitely 'to the right').

- So the 1st component I drop is panelGroupLayout with layout="horizontal". Let it be pg1

- Then inside pg1, I drop 2 panelGroupLayout components layout="vertical". Let it be pg2 and pg3. The reason I have these is that I need some sort of title above each table, hence some text component.

- In both pg2 and pg3, I have panelStretchLayout with styleClass="AFStretchWidth". Let them be ps2 and ps3

- Inside each of ps2 and ps3 I have tables with styleClass="ADFStretchWidth" columnStretching="last"

When the page renders, only 1st table seem to be stretched ie I can see all columns. However this is the case even without using parent container panelStretchLayout .

The problem is that second table still has horizontal scroll bar and not all columns are visible.

Any idea?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 6 2014
Added on Feb 5 2014
4 comments
2,937 views