No add/Delete buttons
No add/Delete buttons
I am extremely new to DataTables (javascript and php for that matter). I have copied and pasted the sample code and can get a grid to display with inline editing working perfectly.
But I don't see an 'Add/Edit/Delete' button at the top of the grid like the examples. I have:
tableTools: {
aButtons: [
{ sExtends: "editor_create", editor: editor },
{ sExtends: "editor_edit", editor: editor },
{ sExtends: "editor_remove", editor: editor }
]
}
I added the inline Delete link and clicking 'Delete' is working. I just can't get the Add button to be visible.
I'm guessing i'm missing a reference to a javascript and css file. Which ones had the add/delete functions?
Answers
Which code are you using?
To start I used https://editor.datatables.net/examples/inline-editing/simple.html
Ahh, I didn't download the TableTools plugin.
Problem solved.