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".
dom: 'lBfrtip'
will make the dropdown to reappear.
updated fiddle -> http://jsfiddle.net/p33x5L3t/1/dom
documentation -> https://datatables.net/reference/option/dom
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With