primefaces Datatable filter is not working

荒凉一梦 提交于 2019-12-13 01:18:50

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!