title: How to customize the paginator from PrimeFaces datatable
body: <p>I want to customize <em>PrimeFace</em>'s data table pagination.</p>
  
  <p>It is currently showing the page count at the bottom as: <code>(1 of 5)</code>. I want to display the # of records in one page out of total number of records, such as: <code>(1-10 of 50)</code>.</p>
  
  <p>I have included my code below - but it isn't working. Could anyone please assist?</p>
  
  <pre><code>&lt;p:dataTable id="tblStatusSearch" var="item" rowIndexVar="rowStatusSearch"      
      rows="10" paginator="true"  
      paginatorTemplate="{CurrentPageReport}  
      {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} "
      value="#{StatusAction.listEBeans}"
  
  &lt;f:facet name="footer"&gt; 
      &lt;h:outputText value="#{rowStatusSearch + 1} - 10 out of #{bondLocationStatusAction.itemCount}"/&gt;
  &lt;/f:facet&gt;
  </code></pre>