datatable lengthmenu
lengthMenu: [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]],
datatable lengthmenu
lengthMenu: [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]],
export button removing length menu option datatable
Here is what I used to add the buttons to the datatable for the export etc:
http://datatables.net/reference/button/#tabletools
Note the dom: 'Bfrtip', property does not have the letter 'L' in it.
Referring to this you will note that adding 'L' to the dom property adds the
length selector:
http://datatables.net/reference/option/dom
So the final dom should look like this:
dom: 'Blfrtip',
(note the additional 'L' after the 'B' character)
And length Menu Options:
lengthMenu: [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]],
This will give you the export buttons and you can also select the row count to
show.
Hope this helps
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us