dataTable don't works after PF('').clearFilters()....

jQuery UI Widgets
Post Reply
Posts: 1
Joined: 22 Mar 2018, 17:33

20 Nov 2018, 18:23

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.

Posts: 1
Joined: 04 Dec 2018, 08:49

04 Dec 2018, 08:53

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

Post Reply

Return to “PrimeUI”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest