Adding 'Action' links to DataTables rows
Adding 'Action' links to DataTables rows
I use DataTables to display a list of books stored in a database. Because there are so many books, I use AJAX to fetch the data. For each record, I want to display the 'book title', 'author' and 'publishing year'. I also want an 'Actions' column, which holds links to that record's 'view', 'edit' and 'delete' pages. Does anyone know how to achieve this using jQuery/JavaScript? Remember that the 'id' of each record should not be displayed in the table, so I can't use a jQuery selector for this.
This discussion has been closed.
Replies