File export buttons hiding record display count
File export buttons hiding record display count
Hello when using this module its hiding the record count(10/25/100) per page. How can i fix this to see the two of them same time?
Here is mi code in php:
. '<script type="text/javascript" charset="utf-8" src="\DateTables\datatables.min.js"></script>'
. '<script type="text/javascript" charset="utf-8" src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.8.4/moment.min.js"></script>'
. '<script type="text/javascript" charset="utf-8" src="//cdn.datatables.net/plug-ins/1.10.15/sorting/datetime-moment.js"></script>'
. '<script type="text/javascript" charset="utf-8" src="//cdn.datatables.net/buttons/1.4.1/js/dataTables.buttons.min.js"></script>'
. '<script type="text/javascript" charset="utf-8" src="//cdn.datatables.net/buttons/1.4.1/js/buttons.flash.min.js"></script>'
. '<script type="text/javascript" charset="utf-8" src="//cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>'
. '<script type="text/javascript" charset="utf-8" src="//cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/pdfmake.min.js"></script>'
. '<script type="text/javascript" charset="utf-8" src="//cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js"></script>'
. '<script type="text/javascript" charset="utf-8" src="//cdn.datatables.net/buttons/1.4.1/js/buttons.html5.min.js"></script>'
. '<script type="text/javascript" charset="utf-8" src="////cdn.datatables.net/buttons/1.4.1/js/buttons.print.min.js"></script>'
. '<script type="text/javascript">'
. '$(document).ready( function () {$.fn.dataTable.moment( "DD/MM/YYYY HH:mm:ss" ); $("#table_id").DataTable({dom: "Bfrtip",buttons: ["csv", "excel", "pdf", "print"]});} );</script>'
This question has accepted answers - jump to:
Answers
I think you are referring to the length change input. You need to add the
l
option to yourdom
.Kevin
See also this FAQ:
Allan