Removing search in filter keeps the number of filtered rows

Removing search in filter keeps the number of filtered rows

aurepitoaurepito Posts: 1Questions: 1Answers: 0

Hi !

My datatables works with Ajax and when I make a search in the filter input and delete my search, it returns only the number of rows were filtered.

For example :

I have

element 1
element 2
element 3
Then, I searched "3", that returns :

element 3
But, if I remove my search : "3", it returns only :

element 1
Or I want to get back :

element 1
element 2
element 3
Do you have any idea ?

BTW, the pageResize doesn't work anymore..

Thanks for reading.

Answers

  • kthorngrenkthorngren Posts: 21,303Questions: 26Answers: 4,947

    BTW, the pageResize doesn't work anymore..

    Are you saying this stops working after clearing the search input?

    Sounds like there might be a Javascript error. Do you see any messages in your browser's console?

    Kevin

This discussion has been closed.