Show entries dropdown disappear when using export tools
$(document).ready(function() { $('#example').DataTable( { dom: 'Bfrtip', // if you remove this line you will see the show entries dropdown buttons: [ 'copy', 'csv', 'excel', 'pdf', 'print' ] } ); });
jsfiddle
You just lack the l flag in dom. l for "length changing input control".
l
dom
dom: 'lBfrtip'
will make the dropdown to reappear.
updated fiddle -> http://jsfiddle.net/p33x5L3t/1/ dom documentation -> https://datatables.net/reference/option/dom
2.1m questions
2.1m answers
60 comments
57.0k users