http://debug.datatables.net/etixon - my debug link,
var otherTable = function(){
var t = $('#otherTable').DataTable({
"info": false,
"paging": false,
"searching": false,
"ordering": false
});
var counter = 0;
$(document).on('click', '#add-row-other', function (e) {
e.preventDefault();
t.row.add( [
'<input type="text" class="form-control" name="org_name['+[counter]+']" >',
'<input type="text" class="form-control" name="org_addr['+[counter]+']" >',
'<input type="text" class="form-control" name="org_amount['+[counter]+']" >',
'<button type="button" id="delete-row" class="btn btn-danger delete"><i class="glyphicon glyphicon-trash"></i> <span>Delete</span></button>',
] ).draw();
counter++;
});
$('#otherTable').on('click', '#delete-row', function (e) {
e.preventDefault();
//console.log(t.row);
t.row.remove($(this).parents('tr')).draw();
});
};
TypeError: t.row.remove is not a function