When selecting a record from a row and using the delete button to remove the row nothing is processed. The dialog box just stays on the screen. I have no error in the console log . Having a problem tracking down this issue.
... Continued JS
//Event listener for opening and closing detail level 1
$('#approvalTable tbody').on('click', 'td.detail-level-control', function () {
var tr = $(this).closest('tr');
var row = table.row( tr );
if ( row.child.isShown() ) {
// This row is already open - close it
$('div.slider', row.child()).slideUp( function () {
row.child.hide();
tr.removeClass('shown');
} );
}
else {
// Open this row and call getChildDetail function
row.child( formatChildRow(row.data()), 'no-padding' ).show();
tr.addClass('shown');
$('div.slider', row.child()).slideDown();
}
} );
$('div.dataTables_filter input').focus();
});//END $(document).ready(function()
Answers
Can you show me the code you are using to configure the Editor and for the delete pop up?
Thanks,
Allan
//
That all looks fine. There isn't anything fancy being done for the remove action that I can see, just a standard:
So the follow up question is: what is the server returning to the Ajax request for the delete?
Thanks,
Allan
That is the odd thing . The button does not appear to be executing the Ajax.