title: call a method of backingbean when finished filtering the table ends
body: <p>Call a method of backingbean when finished filtering the table ends. Using <strong>Primefaces</strong>, datatable look like this:</p>
  
  <pre><code>&lt;p:dataTable id="tabla_gral" rendered="#{consumoMaterial.verTabla}" var="item" paginator="true" rows="15" rowKey="#{item.no}" value="#{consumoMaterial.listadoConsumo}" filteredValue="#{consumoMaterial.listadoConsumoFiltered}"&gt;
    &lt;p:ajax event="filter" listener="#{consumoMaterial.actualizarSaldos}" update=":form2:tabla_gral" /&gt;
    &lt;f:facet name="header"&gt;
      &lt;h:outputText value="Búsqueda de Consumo por: #{consumoMaterial.tipoBuscar}: '#{consumoMaterial.codigo}'" /&gt;
    &lt;/f:facet&gt;
    &lt;p:column exportable="#{consumoMaterial.no}" rendered="#{consumoMaterial.no}" id="cclave" sortBy="#{item.no}" filterBy="#{item.no}" filterMatchMode="contains"&gt;
      &lt;f:facet name="header"&gt;
        &lt;h:outputText value="Nro" /&gt;
      &lt;/f:facet&gt;
      &lt;h:outputText value="#{item.no}" /&gt;
    &lt;/p:column&gt;
    &lt;p:column exportable="#{consumoMaterial.centroCosto}" rendered="#{consumoMaterial.centroCosto}" id="cconcepto" sortBy="#{item.centroCosto}" filterBy="#{item.centroCosto}" filterMatchMode="contains"&gt;
      &lt;f:facet name="header"&gt;
        &lt;h:outputText value="Centro de Costo" /&gt;
      &lt;/f:facet&gt;
      &lt;h:outputText value="#{item.centroCosto}" /&gt;
    &lt;/p:column&gt;
    &lt;p:column exportable="#{consumoMaterial.codigoAlmacen}" rendered="#{consumoMaterial.codigoAlmacen}" id="ctipo" sortBy="#{item.codigoAlmacen}" filterBy="#{item.codigoAlmacen}" filterMatchMode="contains"&gt;
      &lt;f:facet name="header"&gt;
        &lt;h:outputText value="Almacén" /&gt;
      &lt;/f:facet&gt;
      &lt;h:outputText value="#{item.codigoAlmacen}" /&gt;
    &lt;/p:column&gt;
  &lt;/p:dataTable&gt;
  </code></pre>
  
  <p><code>ajax event="filter"</code> does not work because is while filtering not when it finish.</p>