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!

[SOLVED] Center (horizontal and vertical) column headers

user8959800Feb 20 2014 — edited Feb 21 2014

Hi.

I'm using JDeveloper 11.1.1.7.0

I need to center (horizontal and vertical) column headers, in a classic <af:column....> inside an <af:table...>

It's very important that only header is centered. The content could be left, center or right aligned.

I have tried this solution from other thread (Aligning column heading in the ADF table at centre), but it does not work:

<f:facet name="header">

    <afh:rowLayout>

        <afh:cellFormat halign="center">

            <af:outputText value="column header"/>

        </afh:cellFormat>

    </afh:rowLayout>

</f:facet>

Any suggestion? Thank you

This post has been answered by Timo Hahn on Feb 20 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 21 2014
Added on Feb 20 2014
2 comments
422 views