rows().remove
const table = $('#example').DataTable();
$('#example tbody').on( 'click', 'img.icon-delete', function () {
table
.row( $(this).parents('tr') )
.remove()
.draw();
});
Also in JavaScript:
- react lifecycle hooks
- node get path of current file
- javascript convert number to binary
- reactjs basic example
- javascript charcode
- javascript get text between two words
- express route parameters
- javascript string contains function
- angular cli spec test false
- adding to array js
- how to print console in javascript
- loopback ilike
- angular valuechanges get id
- jquery attr
- defineCall is not a function at Sequelize.import sequelize.js
- javascript run something after x seconds
- do more than one thing at start of or loop javascript
- js form submit listener
- trim text and add ... js
- html to pdf javascript
- js check if number has decimals
- lodash remove undefined values from object
- process.stdin.on('data'
- how to name a javascript variable