Filter Datatable Primefaces does not work with p: selectCheckboxMenu

0

Talk to people! I'm using the filter of datatable of primefaces itself but it is not working when I use it to filter p:selectCheckboxMenu . When I select one of the options it does not find anything. I used this example and I could not either link

The datatable along with part of p:selectCheckboxMenu

 <p:dataTable id="monografiasDataTable" widgetVar="monografiaTable"
            value="#{gestaoMonografiasBean.listaMonografias}" var="monografia"
            emptyMessage="Nenhuma informação a ser exibida" paginator="true"
            rows="10" paginatorPosition="bottom" selectionMode="single"
            selection="#{gestaoMonografiasBean.monografia}"
            rowKey="#{monografia.id}" filteredValue="#{gestaoMonografiasBean.listaMonografiasFiltradas}"  >

            <p:ajax event="rowSelect" update="frm:toolbar" />

            <p:ajax event="rowUnselect" update="frm:toolbar" />
.
.
.
<p:column filterBy="#{monografia.listaLinhaPesquisas[0].nome}" headerText="Linha de Pesquisa">
                <f:facet name="filter">
                    <p:selectCheckboxMenu label="Linha de Pesquisa"
                        onchange="PF('monografiaTable').filter()"
                        converter="#{gestaoMonografiasBean.linhaPesquisaConverter}">
                        <f:selectItems value="#{gestaoMonografiasBean.listaLinhaPesquisas}"/>
                    </p:selectCheckboxMenu>
                </f:facet>
                <h:outputText value="#{monografia.listaLinhaPesquisas[0].nome}" />
</p:column> 
    
asked by anonymous 13.03.2018 / 00:21

0 answers