Forum


20:10

06/11/2009

Hi guys,
I have just upgraded to the latest stable jQuery 1.4.2, jQuery UI 1.8.1, and jqGrid 3.6.5 and some of the grids that I have developed for a while now are having some issues, albeit minor ones.
In fact, the only problem I have enountered is with the "Loading..." staying displayed indefinetely even when my data are loaded. I have to manually do a jQuery('#load_'+tid).hide() in my loadComplete event handler to make it dissapear.
Has anyone of you experienced similar behavior? FYI, switching to the earlier version of 3.6.1 works fine.
TIA,
George
19:14

Moderators
30/10/2007

Hello,
Did you have read the upgrade notes?
http://www.trirand.com/jqgridw.....4_to_3.6.5
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
19:35

06/11/2009

Yup I read them and I do as it says:
jQuery("#gridTable").jqGrid({
url: request,
mtype: "GET",
datatype: "json",
height: "150",
colNames: response.data.colNames,
colModel: response.data.colModel,
viewrecords: true,
caption: 'Validation History',
loadComplete: cvld_gridLoadCompleteCallback,
loadError: cvld_gridLoadErrorCallback,
jsonReader: {id: 'log_id'}
});
The grid rows are displayed properly, the "Loading...", however, stays visible. I 'll spend sometime tomorrow to reproduce it in a minimal set of files.
George
19:22

06/11/2009

I wrote a smaller version of my grid that illustrates the issues I have, in the process I was able to identify what the problem is so there is no need to post it :).
Now, the problem lies in the loadComplete event--in particular the object that is passed to the handler. The documentation says that the argument to the loadComplete handler is an XMLHttpRequest object--on the other hand my handler receives one that contains what I expect to find in the xhr.responseText attribute.
Here's my loadComplete handler:
//
function clmt_gridLoadCompleteCallback(request) {
console.log("TESTER");
tester.debug.writeObj(request);
}
The writeObj function iterates through all fields and logs them in the firebug console. The console output looks like this:
So did something change in the argument to the loadComplete event or am I missing something?
TIA
George
13:30

Moderators
30/10/2007

Hello,
Thanks. Also updated Upgrade options and documentation.
Best REgards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
51 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66