Edit buttons do not display
Edit buttons do not display
kervin
Posts: 3Questions: 1Answers: 1
Hi,
I'm trying to get the grid button api working with a single example. But so far I haven't had any luck:
http://adevsoft.com/testcase01/
Any help getting this working would be appreciated.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You're not loading the Buttons extension.
https://datatables.net/extensions/buttons/examples/initialisation/simple.html
Hi,
Thanks for the response. I think I am. I am using a bundle with editor and buttons included.
How can I confirm that my datatables.js includes the buttons extension?
Secondly, even when I include "https://cdn.datatables.net/buttons/1.5.4/js/dataTables.buttons.min.js" I get the same issue. Nothing changes.
I needed the dom: "Bfrtip" line.
It would really help if the examples were commented line-by-line.
Thanks for your help.
Looks like you need to use one of the options listed here to display the buttons:
https://datatables.net/extensions/buttons/#Displaying-the-buttons
You can look at this example also.
https://datatables.net/extensions/buttons/examples/styling/bootstrap4.html
Kevin