Answers for "rows().remove"

0

rows().remove

const table = $('#example').DataTable(); 
$('#example tbody').on( 'click', 'img.icon-delete', function () {    
  table
    .row( $(this).parents('tr') )
    .remove()
    .draw();
});
Posted by: Guest on November-20-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language