Why does searchpanes reset the pagination when initialized by a button? and how to turn it off.
Why does searchpanes reset the pagination when initialized by a button? and how to turn it off.
hm123
Posts: 84Questions: 27Answers: 1
in SearchPanes
You can see it here in the example given in the docs:
https://datatables.net/extensions/searchpanes/examples/initialisation/collapseStart.html
To reproduce, go forward a page or two, then click the open searchpanes buttons, the pagination goes back to 1 as a result of the button container merely opening, without having used searchpanes or filtering or paging.
This question has an accepted answers - jump to answer
Answers
Ah good spot, I've never noticed that before! I've raised it internally (DD-2018 for my reference) and we'll report back here when there's an update.
Cheers,
Colin
Hi @hm123 ,
Thanks again for pointing this out to us. That should be the issue fixed now. This will be available in the next SearchPanes release which we hope will be in the next few weeks. Until then you can access the fix from the nightly builds.
Thanks,
Sandy
I can confirm this works. Thank you