Button in DataTables
Button in DataTables

Hi, I want to create button in DataTables like the image bellow, how can I do that ?
This discussion has been closed.
Hi, I want to create button in DataTables like the image bellow, how can I do that ?
Answers
https://editor.datatables.net/examples/simple/inTableControls
See the "Edit / Delete" column. Replace those buttons with yours and it should work.
@rf1234 and how to add URL to the button ?
Here is an example from my own coding. Two columns that contain links for editor instances and file urls:
The two functions called to render the URLs:
See also the
columns.render
documentation which has an example of creating a link.Allan
I found what I was searching for HERE:
https://datatables.net/reference/option/columns.defaultContent