Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

rows().remove

const table = $('#example').DataTable(); 
$('#example tbody').on( 'click', 'img.icon-delete', function () {    
  table
    .row( $(this).parents('tr') )
    .remove()
    .draw();
});
Source by datatables.net #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
7+7 =