Some how after a series of manipulation actions the visually representation of the dataTable sort/filter will get messed up.
A full page refresh (non ajax) seems to fix the issue (multiViewState is restored). Working on a fully-reproducible example.
As a workaround i am trying to fully reinialize the table sort/filter/cache/... instance state based on the stored multiViewState state.
Has someone dealt with this before?
Code: Select all
DataTable dataTable = (DataTable) FacesContext.getCurrentInstance().getViewRoot().findComponent("form:datatable"); dataTable.reset(); ...
Using primefaces 10.0.7 (latest version) and mojarra23.