I have problems after the update:
- jqGrid from 3.5.3 to 3.8.2
- jquery from 1.3.2 to 1.4.4
- jquery-ui from 1.7.2 to 1.8.8
My application has jqueryui tabs. The third tab has a jqGrid control. If I do a reboot while I'm on the third tab, the grid is working correctly. However, if you reboot on the first tab, and then click the third tab, they will not appear in the grid.
Firebug shows me that the error "jqGrid is not a function".
A search on the forums indicates that the problem is with the wrong pathtojsfiles in grid.loader.js
I prefix my document.URL like this:
function jqGridInclude() { var pathtojsfiles = document.URL + "script/jqGrid/src/";
If you set pathtojsfiles to the wrong value, you will see "file not found" errors in Firebug. All this is normal.
http://forum.jquery.com/topic/jqgrid-is-not-a-function
This thread has a dead end: @milenaa: "At first I thought it was a path problem, as I did before, but it works like this: I have a menu that calls some server controllers that return some data, or I send some data for them, When I click on the link that calls the controller, which later calls the jqgrid function, it works. But, if I call another function first, jqgrid doesnβt work. And the page includes all the js needed for both cases. Its just like another function, not allowing em jqgrid work ... but i don't know why ... "
Reading this, I think I have a similar problem. I must admit that I am not familiar with the Javascript execution model. Any ideas on how to solve or debug this?