Add custom buttons to row, when also defining columns.
Add custom buttons to row, when also defining columns.
Is it possible to add buttons like this:
https://datatables.net/examples/ajax/null_data_source.html
when the columns are defined like this:
"columns": [
{ "data": "first_name" },
{ "data": "last_name" },
{ "data": "position" },
{ "data": "office" },
{ "data": "start_date" },
{ "data": "salary" }
]
This discussion has been closed.
Answers
Yes. Just add the
columns.defaultContent
where you want it. You might need an extra column in your code above.Allan