I have a site built using jQuery and jQueryUI. All dialogs are using the same effects for showing and hiding. However I am unable to set effect on those dialogs created by e
It's a good question!
Internally jqGrid uses jqModal which will be as the part of jqGrid (as the module jqModal.js
). To implement the animation effects you can overwrite the $.jgrid.showModal
and $.jgrid.closeModal
methods.
The demo for example uses the following code
$.extend($.jgrid, {
showModal : function(h) {
h.w.show("slow");
},
closeModal : function(h) {
h.w.hide("slow").attr("aria-hidden", "true");
if(h.o) {h.o.remove();}
}
});
I think you can easy modify the code of above functions to implement the same effects for showing and hiding which you use on your site.