I'm familiar wit the trick to overwrite the modal behavior:
$.extend($.jgrid, {
showModal : function(h) {
h.w.show("blind");
},
closeModal : function(h) {
h.w.hide("blind").attr("aria-hidden", "true");
if(h.o) {h.o.remove();}
}
});
I'm also looking for a way to change the color of that same modal header. (I don't want to change the color for the entire .ui-widget-header, just for that particular modal window). Can I achieve that using "h.w.css" of some kind?
This is how how open this modal:
$(nameOfGrid).jqGrid('searchGrid', {
multipleSearch:true,
showQuery: true,
multipleGroup:true,
caption: "Advanced Search",
sFilter: "afilters",
Find: "Apply",
Reset: "Reset & Close",
closeAfterReset: true,
closeAfterSearch: false,
searchOnEnter: true,
width:'auto',
recreateForm: true,
recreateFilter: false,
errorcheck: true,
overlay:false,
Thanks,