Delete button - How to implement

Delete button - How to implement

Shoddy SmokeShoddy Smoke Posts: 4Questions: 2Answers: 0

Does anybody have an idea on how to implement a delete button to my code below? I have successfully been able to connect to my data base and query the data below but now I want users to be able to cancel their own appointments. Any idea?

$(document).ready(function() {
$('#data').DataTable( {
"ajax": '/api/data',
columns: [
{data: 'first_name'},
{data: 'second_name'},
{data: 'date', searchable: true},
{data: 'slot_time', searchable: true},
{data: 'Description'}
],
} );
} );

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,351Questions: 26Answers: 4,955
    Answer ✓

    This is a duplicated of this thread. Please don't post duplicate questions. See my answers in your other thread.

    Kevin

Sign In or Register to comment.