Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

af:column sortable="true" how to stop header from wrapping

af:column sortable="true" how to stop header from wrapping

af:column sortable="true" how to stop header from wrapping

OK, here's the atmosphere:
Studio Edition Version

building a .jspx page to simply return/display data from one of my Data Controls.

I have an 'af:table' with two 'af:column's
Each column is set up with a 'header'. Here's an example:


<af:table value="#{bindings.queryVCostCenterByCCName1.collectionModel}"
          emptyText="#{bindings.queryVCostCenterByCCName1.viewable ? 'No rows yet.' : 'Access Denied.'}"
          id="tblCostCenterDisplay" banding="row" styleClass="dpc"
 <af:column sortProperty="displayCc" sortable="true"
            binding="#{backing_searchcc.column15}" id="column15"
            styleClass="dpc" formatType="text" headerNoWrap="true"
            width="120" noWrap="true">
  <f:facet name="header">
   <h:panelGroup binding="#{backing_searchcc.panelGroup2}"
    <h:panelGrid columns="1"
                 id="panelGrid2" width="120"
     <af:panelHorizontal binding="#{backing_searchcc.panelHorizontal12}"
      <af:outputText value="Cost Center"
                     styleClass="dpc, namealign, columnheader"/>
  <af:outputText value="#{row.displayCc}"
                 styleClass="dpc, namealign, columnheader"/>

First the good news, the page works and does everything I want it to do - so, no problem there. The ONLY problem is with a minor display annoyance.

The problem is that when I click on one of the headers to sort the table accordingly, that little triangle image link (which indicates in which order the table has been sorted) drops down onto a new line beneath the header (in the above example "Cost Center").

I've tried all the 'nowrap' options I can think of (see the example above) but I can't get this header to stop wrapping that icon link down onto a new line.

Can anyone help me with this?

Thanx in advance,


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close