For example, I call my default settings on every page load and bind a function to loadComplete to do some basic formatting for my grids.
On some pages, I have additi
There is a much easier solution to this than I have seen recommended anywhere else:
// Set defaults
jQuery.extend(jQuery.jgrid.defaults, {
loadComplete: function () {
myCustomFunction();
}
});
loadComplete: function() {
// someOtherFunction();
$.jgrid.defaults.loadComplete(); // Runs myCustomFunction()
},