SearchPanes: sorting rendered column

SearchPanes: sorting rendered column

constellatorconstellator Posts: 5Questions: 2Answers: 0

Hi, I refer to the following example: https://datatables.net/extensions/searchpanes/examples/advanced/renderSearchArrays.html.

"Permissions" is a rendered filtered column, but the sorting button (in searchpane) isn't ordering correctly.
What is missing?

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,143Questions: 1Answers: 2,586
    edited May 2020

    Good spot, I've raised it internally (DD-1442 for my reference) and we'll report back here when there's an update. We're aiming on making a new release tomorrow so hopefully this can be addressed in time for that.

    Colin

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

    Hi @constellator,

    That should be the issue fixed now as you can see at this example.This will be available in the next SearchPanes release which as colin has said is going to be very soon. Until then you can access the fix from the nightly builds, but I would suggest that you hold off for the release.

    Thanks,
    Sandy

  • constellatorconstellator Posts: 5Questions: 2Answers: 0

    Great, now it is working just fine :)

    At first, cascadePanes was still not working with buttons in this new version, but then I found https://datatables.net/forums/discussion/comment/168044/#Comment_168044 and added

    buttons:[
    {
    extend: 'searchPanes',
    config: {
    cascadePanes: true
    }
    }
    ],

    Now it is perfect :smile:
    Thank you so much for this fantastic feature, SearchPanes rule!

This discussion has been closed.