Primefaces put Filter in the footer instead of the header

0

In this example we can see that filterby adds the filter to the header and I would like to put it in the footer.

Would anyone know how to do it or even used it?

link

    
asked by anonymous 30.01.2015 / 13:29

1 answer

0

Try to put the prime facet inside the footer tag, like this:

<footer>
  <f:facet name="header">
            <p:outputPanel>
                <h:outputText value="Pesquisar por: " />
                <p:inputText id="globalFilter" onkeyup="PF('widgetVarDaSuaTabela').filter()" style="width:150px" placeholder="Digite aqui"/>
            </p:outputPanel>
        </f:facet>
</footer>
    
27.10.2016 / 15:22