I have a grid with a custom button that opens another grid. On this second grid, when an error occurs, the dialog error is showing up behind it. How can I set zIndex? Here is relevant part of my code:
$.ajax({
...
complete: function(xmldata, stat){
if(stat == "success") {
$('#dialog').dialog('close');
}
else {
e = "Erro customizado.";
$.jgrid.info_dialog($.jgrid.errors.errcap,typeof e==="string"?e:e.message,$.jgrid.edit.bClose);
}
}
});