How do I add buttons into the row of dataTables?
How do I add buttons into the row of dataTables?
![angelesguerra](https://secure.gravatar.com/avatar/08d9aa791b5ea586b69c06348a69cb4a/?default=https%3A%2F%2Fvanillicon.com%2F08d9aa791b5ea586b69c06348a69cb4a_200.png&rating=g&size=120)
How do I add buttons for edit, delete, etc., in the row of the table?
I am aware of the dataTable.editor. But this is only free trial.
I want to create my own button but I just want to know how do I insert it inside the rows of the dataTable
This discussion has been closed.
Answers
Use columns.render. Relevant example here:
https://datatables.net/forums/discussion/61846
It has a conditional structure, but you can trim it down.
I'm not clear if you're asking for them within your Editor trial or not. If not, then yep, tangerine's answer does the trick. If you want to use Editor - see example here,
Colin