问题
After doing two days resarch on this issue i ve decided to seek some help from you guys. Filter of datatable is not working. I ll be grateful. My code for datatable is
<p:dataTable widgetVar="#{ctrbean.list}"
id="hhh" editMode="row" disabledSelection="true" rowKey="#{p.ID}"
scrollable="true" value="#{ctrbean.list}" var="p"
style="width: 800px ; position: absolute; top:150px ; left:250px"
filteredValue="#{ctrbean.list}">
<p:column id="r" headerText="ID"
filterBy="#{p.ID}" filterMatchMode="contains" >
<h:outputText value="#{p.ID}" />
</p:column> ....and other coloumns
</p:datatable>
来源:https://stackoverflow.com/questions/32166118/primefaces-datatable-filter-is-not-working