I have a list on my table and when i do some filters and I apply clearFilters()... The list don´t accept addrow...i have to reload the browser to recharge a new row.
If I dont use filters everything is fine... but thats not the idea... because I need the filters.
I used dataTable.ResetValue but dont work.
Someone can help me???
Thank you Guys.
dataTable don't works after PF('').clearFilters()....
I had the same issue after putting the DataTable inside the repeat Tag
I managed to solve the issue by manually filtering the data
I created a method that would sort the list (if the search input was empty, it would reset the filter)
then I used the <p:ajax> tag and called the method using the action listener
I also added in execute and render atrributes to the ajax tag to reload my datatable
All of this was executed on a button click though so it was no longer on keyup
I managed to solve the issue by manually filtering the data
I created a method that would sort the list (if the search input was empty, it would reset the filter)
then I used the <p:ajax> tag and called the method using the action listener
I also added in execute and render atrributes to the ajax tag to reload my datatable
All of this was executed on a button click though so it was no longer on keyup
-
- Information
-
Who is online
Users browsing this forum: No registered users and 20 guests