'Export options - row selector' not working ... also not in working example

'Export options - row selector' not working ... also not in working example

CapamaniaCapamania Posts: 233Questions: 81Answers: 5
edited October 2015 in Free community support

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
                } );
     } );

Replies

This discussion has been closed.