6 Replies Latest reply on Feb 14, 2011 7:49 AM by Diego Di

    RichFaces 3.3.3 + dataTable + align footer

    Edilmar Alves Expert

      Hi,

       

      I have an webapp with NB6.8+JSF2+RichFaces3.3.3+GFv3 with a rich:dataTable.

      Then, I would like to know how to align the footer of a column to the right.

      Here is the code of my column "Valor Venc.":

       

      <rich:column width="70px" id="valorVenc" style="text-align:right;">
        <f:facet name="header"><h:outputText styleClass="headerText" value="Valor Venc." /></f:facet>
        <h:outputText value="#{item.valorVenc}"><f:convertNumber minFractionDigits="2"/></h:outputText>
        <f:facet name="footer">
          <h:outputText value="#{consTitulosCliente.somaValorVenc}"><f:convertNumber minFractionDigits="2"/></h:outputText>
        </f:facet>
      </rich:column>
      

       

      Look that rich:column has the "style" for right alignment.

      But the table shows this... look that "62.713,09" is aligned to left...

      FooterAlign.jpeg

       

      Thanks for any help.