I am facing some problems with filters in DataTable
component in PrimeFaces !
I have a list of Employees
to show in that table and of course I have the ability to seach some of them using :
<f:facet name="header">
<div align="left">
<p:outputPanel>
<p:inputText id="globalFilter" onkeyup="PF('employee_Table').filter()" placeholder="#{msg['SearchFields']} " />
</p:outputPanel>
</div>
</f:facet>
The problem is after typing a text in that InputText
and clearing it to start modifyin an other employee I still get the same employee that I searched for or a list of employees if the search criteria matches with more than one !
Is there a way to reset the filters ?