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.

hm123hm123 Posts: 80Questions: 23Answers: 1

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

  • colincolin Posts: 15,112Questions: 1Answers: 2,583

    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

  • sandysandy Posts: 913Questions: 0Answers: 236
    Answer ✓

    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

  • hm123hm123 Posts: 80Questions: 23Answers: 1

    I can confirm this works. Thank you

Sign In or Register to comment.