Buttons & Paging ("Show Entries" listbox)

Buttons & Paging ("Show Entries" listbox)

connorsfourconnorsfour Posts: 5Questions: 1Answers: 0

Is there a way to show the buttons ('copyHtml5','csvHtml5','colvis') AND the listbox "Show XX Entries" at the same time. I think I am overlooking something. Thanks.

This question has an accepted answers - jump to answer

Answers

  • paupiettepaupiette Posts: 2Questions: 1Answers: 1
    Answer ✓

    I think you can use the "dom" option:

    $('#myTable').DataTable( {
        dom: 'lBrtip',
        buttons: [
            'copy', 'excel', 'pdf'
        ]
    } );
    
  • connorsfourconnorsfour Posts: 5Questions: 1Answers: 0

    Nice. Thanks. I was using 'Brtip' instead of 'lBrtip'.

This discussion has been closed.