How do I define a button in the header in this part of the code?
I would like to place it here
I don't want to define it in html, I want to define it in js file, where I show in code
You can use jQuery or other method to add the button. Maybe this SO thread will help. There is nothing built into Datatables for this.
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.