'Export options - row selector' not working ... also not in working example
'Export options - row selector' not working ... also not in working example
Capamania
Posts: 233Questions: 81Answers: 5
Export options - row selector is not working ... also not in the working example https://datatables.net/extensions/buttons/examples/print/select.html
The exension is included and I use this script:
$(document).ready(function() {
var dataTable = $('#example').DataTable( {
dom: 'Blfrtip',
buttons: [
'selectAll',
'selectNone',
{ extend: 'collection',
text: 'Export Selected',
buttons: [
{
extend: 'pdf',
exportOptions: {
rows: { selected: true }
}
},
'print']
}
],
select: true
} );
} );
This discussion has been closed.
Replies
Is this a bug or is there sth wrong with my set up?
This is a bug I'm afraid. It has already been fixed in the nightly version of Buttons.
Allan
It works with the nightly version! Thanks a lot Alan!