Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
jqGrid 3.6.5 & "Loading..."
03/06/2010
20:10
Avatar
karabot
Member
Members
Forum Posts: 15
Member Since:
06/11/2009
sp_UserOfflineSmall Offline

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

04/06/2010
19:14
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

04/06/2010
19:35
Avatar
karabot
Member
Members
Forum Posts: 15
Member Since:
06/11/2009
sp_UserOfflineSmall Offline

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

08/06/2010
19:22
Avatar
karabot
Member
Members
Forum Posts: 15
Member Since:
06/11/2009
sp_UserOfflineSmall Offline

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:

TESTER
*****************
[object Object]
  page: 1
  returnCode: 0
  records: 0
  total: 0
  rows:

So did something change in the argument to the loadComplete event or am I missing something?

TIA

George

16/06/2010
13:30
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information