button searchPane preSelect not working with current or nightly builds

button searchPane preSelect not working with current or nightly builds

glimpsed_chaosglimpsed_chaos Posts: 138Questions: 29Answers: 4

Link to test case: https://live.datatables.net/pejemewu/21/

I started working from another answer from March 2021 where kthorngren provided this working example - http://live.datatables.net/pejemewu/1/edit

This working example appears to use the older versions of jQuery, DataTables, Buttons, Select and SearchPanes.

I updated from that example to use the nightly, where Searchpanes works itself but preSelect does not. I tried the current release versions in case there was an issue but with the same result.

Any ideas on this?

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,236Questions: 1Answers: 2,598
    Answer ✓

    I've raised it internally (DD-2672 for my reference) and we'll report back here when there's an update. In the meantime, if possible, it would be worth deploying those older versions as there doesn't appear to be a viable workaround unfortunately,

    Colin

  • glimpsed_chaosglimpsed_chaos Posts: 138Questions: 29Answers: 4

    Thanks Colin! Look forward to the resolution.

  • mattrebamattreba Posts: 13Questions: 4Answers: 0
    edited November 2023

    I just want to point out for anyone else looking at this issue that this also affects current stable releases and not just nightlies as can be seen in this example:

    https://live.datatables.net/tuduyiri/1/edit?html,js,output

    [Edit] I've accidentally fixed my live example. It looks like the issue is present with searchPanes 2.1.1 but not 2.0.2. I haven't done thorough testing with the other components on current stable release but it appears on the surface that just dropping searchPanes back to 2.0.2 will resolve this issue. If you set the searchPanes <script> include to anything 2.1.1 or newer you will see the filter does not apply until clicked.

Sign In or Register to comment.