Hello,
The better way imho is to use hideModal function
i.e
hideModal(“#editmod”+theGridId);
Regards
Tony
Edit: We paln to change the calling convetions of this function, so maybe you will need to wait for the next release, where the possible call will be $.jgrid.hideModal