title: Get the list filtered values of a datatable
body: <p>I would like to get the list filtered values of a datatable, if my datatable shown a list of 50 elements and I put a filter in a column then my datatable shown only 20 elements when I put a value in the filter, How I can get only the list of 20 elements in the bean for working with her</p>
  
  <p>my code:</p>
  
  <pre><code>    &lt;p:dataTable id="idDtListaOC" var="orden" value="#{ordenCompraBean.lstOrdenCompra}" 
       paginator="true" rows="10"  rowIndexVar="row" rowKey="#{orden.id}"
       paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown} "  
       rowsPerPageTemplate="5,10,15"
       filteredValue="#{ordenCompraBean.lstOrdenCompraFiltrado}"
       selection="#{ordenCompraBean.ocVista}" selectionMode="single"&gt;
  
      &lt;p:column width="25px;" style="text-align: center;" &gt;
          &lt;f:facet name="header"&gt;
              &lt;h:outputLabel value="Nro"/&gt;
          &lt;/f:facet&gt;
          &lt;h:outputText value="#{row+1}"/&gt;
      &lt;/p:column&gt;
  
      &lt;p:column width="60px;" style="text-align: center;" sortBy="#{orden.strNumeroOrden}" filterBy="#{orden.strNumeroOrden}" filterMatchMode="contains"&gt;  
          &lt;f:facet name="header"&gt;  
              &lt;h:outputText value="Numero" /&gt;  
          &lt;/f:facet&gt;  
          &lt;h:outputText value="#{orden.strNumeroOrden}" /&gt;  
      &lt;/p:column&gt;  
  
      &lt;p:column headerText="Id" filterBy="#{orden.strProveedor}" filterMatchMode="contains" sortBy="#{orden.strProveedor}"&gt;
          &lt;h:outputText value="#{orden.strProveedor}" /&gt;
      &lt;/p:column&gt;
  &lt;/p:dataTable&gt; 
  </code></pre>
  
  <p>thanks.</p>