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)

steve@ditasolutions.comsteve@ditasolutions.com Posts: 4Questions: 2Answers: 0

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

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin
    Answer ✓

    That doesn't seem to be happening in this example. Could you link to a page showing the issue please?

    Thanks,
    Allan

  • steve@ditasolutions.comsteve@ditasolutions.com Posts: 4Questions: 2Answers: 0

    Thanks Allan - that's solved the issue!

This discussion has been closed.