1
In this example we can see that filterby adds the filter in the header and I would like to put it in the footer.
Someone would know how to do it or even have used it?
http://www.primefaces.org/showcase/ui/data/datatable/filter.xhtml
1
In this example we can see that filterby adds the filter in the header and I would like to put it in the footer.
Someone would know how to do it or even have used it?
http://www.primefaces.org/showcase/ui/data/datatable/filter.xhtml
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>
Browser other questions tagged primefaces
You are not signed in. Login or sign up in order to post.
Luídne had answered here but deleted and I think that’s right: "You can add the filterPosition="bottom" attribute in your <p:column>."
– Caffé
Unfortunately filterPosition positions the filter just below or above the headerText and not in the column footer.
– Giovane