1 Reply Latest reply on Dec 4, 2008 11:21 AM by Konstantin Mishin

    Datatable sorting and filtering on same column - formatting

    Franco Fernandes Novice

      I want to have sorting and filtering on a single column in my datatable.

      I have this code

      <rich:column styleClass="alignleft" sortBy="#{_division.divisionName}"
       filterBy="#{_division.divisionName}" filterEvent="onkeyup" >
      
       <f:facet name="header">
       #{messages.division_divisionName}
       </f:facet>
      
       #{_division.divisionName}
      </rich:column>
      
      <rich:column sortBy="#{_division.createdByUser.userName}">
       <f:facet name="header"> #{messages.createdByUser} </f:facet>
       #{_division.createdByUser.userName}
      </rich:column>
      


      The input field created by the filterBy expression lies in a div. So it is not aligned with the heading for the next column. Any tips on how I can put that field in a separate row in the header ?


      Thanks in advance