How to remove the shadow after deleting a row,
I have referred the code from this link.
After deleting the row and receiving a confirmation prompt, I reload the full div, the only problem is the shadow(white color blur background color).
I have used the code codes to remove the shadow. Its working initially, but when I tried to delete another row its not showing the delete confirmation prompt.
$(".ui-widget-overlay").hide();
$(".ui-widget-overlay").remove();
$(".ui-widget-overlay").css("opacity","0.0");
see below image
You use very old demo which uses $("#delmod" + grid[0].id).hide();
. Replacing the call of .hide()
to the call of $.jgrid.hideModal
will solves the problem (see the old demo). See the answer, this one or the answer