Remove Data and trigger function
Remove Data and trigger function
Hello,
I have a table which includes paths to images. If I remove the row with "remove" { extend: "remove", editor: editorMachines }
, I only remove the row but I also want to delete the image as well. I use ajax and php to get the data. So is it possible to add a function to the existing "remove" that triggers the function with ajax and if the images are successfully deleted I receive a "success" and afterwards the row(s) are deletet?
thanks, Alex
This question has an accepted answers - jump to answer
Answers
What are you using on the server-side - any of the provided server-side libraries, or something else?
Allan
Hi, thanks for the answer. I found this in the forum that maybe helps: https://datatables.net/forums/discussion/30614/deleting-rows-server-side
But thank's for your help!