How work with row selection and export?

How work with row selection and export?

AxelBAxelB Posts: 1Questions: 1Answers: 0

Hello, I have this code:

                columnDefs: [ {
                    orderable: false,
                    className: 'select-checkbox',
                    targets: 0
                }],
                select: {
                    style:    'multi',
                    selector: 'td:first-child',
                    blurable: false,
                },
                buttons: [
                    { extend: 'csv',

                        exportOptions: {
                            rows: { selected: true }
                        }

                    },
                ]

And export feature ignore my selected .row during export ````<tr role="row" class="even selected">``` (I have 0 result inside my .csv file) and if I remove the exportOptions section, I have all my row inside, why please?

Thanks.

Answers

This discussion has been closed.