How to prevent losing a column search state when a column is ordered (DataTables Editor)
How to prevent losing a column search state when a column is ordered (DataTables Editor)
Hi,
I'm having an issue with the DataTables Editor where I've got custom buttons that fire off a column search, but when another column is then ordered by clicking on a col header, it loses the previous column search and displays all rows. I tried listening for the order.dt event and then re-init the search, but that just leads to a loop and stack overflow. Is there a way to have the column search state persist through a column ordering?
Thanks
This question has an accepted answers - jump to answer
Answers
That doesn't seem to be happening in this example. Could you link to a page showing the issue please?
Thanks,
Allan
Thanks Allan - that's solved the issue!