Confused about buttons documentation
Confused about buttons documentation
Hi,
I'm trying to follow the code on https://datatables.net/extensions/buttons/ to get buttons working with DataTables, but it doesn't seem to be a complete example.
Specifically, if I add the buttons shown in the example:
buttons: [
'copy', 'excel', 'pdf'
]
Nothing happens. If I change the button names to something bogus, I get an error, so DataTables apparently recognizes these strings with only the core Buttons extension. But I think there must be some other extension I need to get the buttons to show up?
To give a bit more context, I wasn't specifically looking for these buttons, I'm just trying to understand how the Buttons work in general (and I'm actually trying to add an Edit button from the editor, but I thought there were "built-in" buttons I could try before adding another extension, maybe not?).