StateSave with ColumnControl does not properly restore column filters on refresh

StateSave with ColumnControl does not properly restore column filters on refresh

coreyg142coreyg142 Posts: 24Questions: 2Answers: 0

Test Case: https://live.datatables.net/guninabo/2/edit
I also have a serverside application exhibiting the same behavior

To replicate:
- apply a column level filter on any of the columns and it should filter correctly
ex: Search 'Golf' on the commodity column

- Then refresh the page, and see that the filter is still present in the UI, but the table is not filtered.

The global search does correctly reapply the filter on reload.

Answers

  • coreyg142coreyg142 Posts: 24Questions: 2Answers: 0

    also another minor thing related to dark mode in ColumnControl:

  • allanallan Posts: 65,972Questions: 1Answers: 10,980 Site admin

    That's surprising! Thanks for the test case, I'll look into it and get back to you tomorrow.

    Allan

  • coreyg142coreyg142 Posts: 24Questions: 2Answers: 0

    Sorry for the ping, any updates on this or the Vue fixes?

  • allanallan Posts: 65,972Questions: 1Answers: 10,980 Site admin

    Apologies. I've been working on other things and this slipped by me. I'll try to take a look as soon as possible.

    Allan

  • allanallan Posts: 65,972Questions: 1Answers: 10,980 Site admin

    I've just committed a fix for the dark mode issue. I've still to check the state issue and Vue issues. The Vue ones are unlikely to be looked at for a few weeks I'm afraid, due to other priorities, unless someone wants to use priority support credits for it.

    Allan

  • coreyg142coreyg142 Posts: 24Questions: 2Answers: 0

    Thanks for the update Allan. Any chance you could tag up a new version in the meantime for the Vue fix you've already committed?

  • allanallan Posts: 65,972Questions: 1Answers: 10,980 Site admin

    Yes, sorry, I should have done that already. That's datatables.net-vue3 3.0.8 now released.

    Allan

Sign In or Register to comment.