Paging disappears with buttons
Paging disappears with buttons
schong
Posts: 3Questions: 1Answers: 0
Hi There
When I tried this example https://datatables.net/extensions/buttons/examples/styling/icons.html, the functionality to change page size disappears. I thought it was hidden behind the buttons initially. Please advise
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @schong ,
We're happy to take a look, but it would help, as per the forum rules, if you could link to a running test case showing the issue so we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
Thanks for letting me know. I have reproduced the example here http://jsfiddle.net/soongsta/smdL9kbx/
So the combobox with the page sizes disappear when I added the lines :
dom: 'Bfrtip',
buttons: [
'copyHtml5',
'excelHtml5',
'csvHtml5',
'pdfHtml5'
]
When I remove the above lines, it comes back
You need to add the
l
to thedom
option to display the page length, for example:dom: 'Blfrtip',
Kevin
Thanks, that worked :-)