$.fn.dataTable.ext.search not working after call ajax reload for table
$.fn.dataTable.ext.search not working after call ajax reload for table
just3f
Posts: 2Questions: 1Answers: 0
I have strange issue.
I have filter $.fn.dataTable.ext.search.push({}) and it works fine. But after call on table ajax.reload function this filter is stop working.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Thanks for your question. I'm not sure why that would happen.
As noted in the forum rules, please post a link to a running test case showing the issue so we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Allan
I have 2 tables. And function which called after click button for hide or show some rows.
But after i called ajax reload function for this tables button have stopped work.
Before reload table all works good.
Function for hide or show rows:
I can only guess that the
pop()
call is being run and thus the filter removed. However, without a test case as I asked for before I really can't know for sure.Allan