I am trying to add export buttons, but it seems I can only have the export buttons displayed or the records per page drop down, not both at the same time. Can anyone offer any help on this?
This question has an accepted answers - jump to answer
Any ideas anyone...
Just add the l option into your dom option. As the documentation describes, each letter in that parameter is a feature. If you remove the l option (as most options do) then the length menu is removed.
This has come up a number of times, so I've recently added a new button type to Buttons which will perform the same actions as the default length menu, but with styling fully integrated into Buttons. That will be available when Buttons 1.1.0 is released.
Worked a treat. Thank Allen.
For reference, Buttons 1.1.0 is now available with pageLength built in. There is an example available here.
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.