I have a primefaces datatable with a rowToggler. When you type in values in the filters for a column, and then click the rowToggler on a row to open the expansion, and then if you click the rowToggler to close the expansion, the values are still in the column filters, but the data reloads without filtering the data.
I tried adding oncomplete='authTableWidget.filter();' to my p:ajax event="rowToggle, but that just makes it so that when you try to open a row expansion, it just reloads the table data with the filtered values and doesn't actually open the row expansion.
<p:dataTable var="auth" value="#{authBacking.auths}" widgetVar="authTableWidget" editable="true" id="authTable" paginator="true" rows="20" rowsPerPageTemplate="20,50,100"
paginatorTemplate="{CurrentPageReport} {PreviousPageLink} {PageLinks} {NextPageLink} {RowsPerPageDropdown}"
filteredValue="#{authBacking.filteredAuths}">
<p:ajax event="rowToggle" listener="#{authBacking.openRow}" update=":authForm:authTable" />
<p:column>
<p:rowToggler />
</p:column>
authBackingis loosing the filtered values, because its request scoped. (and the ajax request causes the backing bean to reset) - dognose