How can I set the (pdf, excel,..) buttons to create a file from the filtered rows?

How can I set the (pdf, excel,..) buttons to create a file from the filtered rows?

frederikvhofrederikvho Posts: 1Questions: 1Answers: 0

Because I found a solution that used https://datatables.net/extensions/tabletools/ but this extension is retired. How should I proceed?

This is a piece of my code, concerning the buttons:

dom: 'Blfrtip',
        buttons: [
            'copyHtml5',
            'excelHtml5',
            'csvHtml5',
            'pdfHtml5'
        ],
This discussion has been closed.