Topic: DataTables Button not supported?

.jodadev. pro asked 5 years ago


I'm using DataTables and trying to use the buttons option but is not working. Docs: https://datatables.net/extensions/buttons/. Example:

$('#myTable').DataTable( {
    buttons: [
        'copy', 'excel', 'pdf'
    ]
} );

Is this included in the plug-in that's integrated in MDB? I saw this thread made 7 moths ago asking for the same thing: https://mdbootstrap.com/support/jquery/datatables-buttons-option-not-supportet/. Any updates on this? Thanks.


Piotr Glejzer staff answered 5 years ago


Hello,

I think this is not still available in our packages. You probably have to add javascript code with buttons for your own.

Best,
Piotr



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.7
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes