title: How to set Currency Format in primefacs columnGroup?
body: <p>I would like to set currency format in <code>Primefaces</code> column group without getting string (with currency format) value form <code>JSF Backing Bean</code>.</p>
  
  <p>If there is no way to set currency format in the page, I will take string value with currency format as below.</p>
  
  <pre><code>public String getCurrencyFormatString(Double value) {
      DecimalFormat formatter = new DecimalFormat("##,###.00");
      return formatter.format(value);
  }
  
  
  &lt;p:dataTable id="paymentDataTable" var="payment" value="#{PaymentActionBean.paymentList}"&gt;
      &lt;!--Other six columns--&gt;
  
      &lt;p:column headerText="Total"&gt;  
          &lt;h:outputText value="#{payment.totalAmount}"&gt;
               &lt;f:convertNumber pattern="#{ApplicationSetting.currencyFormat}"/&gt;
          &lt;/h:outputText&gt;
      &lt;/p:column&gt;  
      &lt;p:columnGroup type="footer"&gt;  
          &lt;p:row&gt;  
              &lt;p:column colspan="7" footerText="Total:" style="text-align:right"/&gt;  
              &lt;p:column footerText="#{PaymentActionBean.grandTotalAmount}" style="text-align:right"&gt;
                  &lt;!--How Can I put number format (##,###.00) for grand total amount? --&gt;
              &lt;/p:column&gt;
          &lt;/p:row&gt;  
      &lt;/p:columnGroup&gt;                                
  &lt;p:dataTable&gt;
  </code></pre>