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
Problem with jqgrid in IE8
13/03/2010
07:52
Avatar
abkhandelwal
USA
Member
Members
Forum Posts: 5
Member Since:
13/03/2010
sp_UserOfflineSmall Offline

Hi,

I am using jqgrid 3.6.I am getting an error on IE 8 "jquery.jqgrid is null or not an object" when i try to add or edit in the grid.The code works absolutely fine on FireFox.Can you please help me as it is very urgent as we are going live on Monday.I have tried debugging a lot and it seems there is some race condition happening because of which my code is not working.This will be great if i get a solution ASAP.Thanks in advance.

13/03/2010
13:50
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Sorry, but nobody can find an error in your code if you don't post the code.

And one more question. Do you use 3.6 or 3.6.4 or the last modification of 3.6.4 from /blog/? It is also importent to write always which version of jQuery and jQQuiery UI you use.

13/03/2010
18:25
Avatar
abkhandelwal
USA
Member
Members
Forum Posts: 5
Member Since:
13/03/2010
sp_UserOfflineSmall Offline

OlegK said:

Sorry, but nobody can find an error in your code if you don't post the code.

And one more question. Do you use 3.6 or 3.6.4 or the last modification of 3.6.4 from http://www.trirand.com/blog/? It is also importent to write always which version of jQuery and jQQuiery UI you use.


Hi Oleg,

I am using 3.6 and not the latest one.The version of jquery is 1.3.2.How do i post the code?The problem is that when i call beforeInitData and put an alert in it i get the alert but after that i get the problem in IE saying jquery.jgrid is null or not an object.I am new to web development so dont know much about the internal js working so dont know which code should i post?

13/03/2010
19:33
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Hello abkhandelwal!

First of all, if you think that your problem is the problem of jqGrid, so mostly pure javascript problem, you must be able to create a small html/javascript example, where the problem exist. So try to create one html page with a javascript inside, which use jqGrid and do almost the same, which your current project with the error do. Either during this work you find the reason of your problem yourself or you'll create a working example where the problem exist.

If you project works with server, try to fill the same data without comunication with server. To do this, replace "datatype" parameter of jqGrid to "datatype: 'local'" and fill your test data with respect of addRowData function, like this do following code:

jQuery('#list').jqGrid({
    datatype: 'local',
    ...
    colNames: ['Name', 'Testtiefe', 'RowVersion'],
    colModel: [
        { name: 'Name', index: 'n', width: 120 },
        { name: 'TesttiefeName', index: 't', width: 180 },
        { name: 'RowVersion', index: 'r', width: 50, hidden: true }],
   ...
});
var  myData = [
    { Name: "VIA XP", TesttiefeName: "Alle SW-Produkte", RowVersion: "20FC31" },
    { Name: "KUBUS", TesttiefeName: "Alle SW-Produkte", RowVersion: "20FC32" }
];

    for (var i = 0; i <= myData.length; i++)
        jQuery("#list").addRowData(i + 1, myData[i]);

You can also place the code example to a place in Internet, if you have access to some web server, and post an url.

If you want, that sombody in the world helps you without any payments from your side, you should at least prepare your question so, that people who read your question receive an a sport interest to solve your problem. At least you have to give enough information to be able to reproduce your problem.

Best regards
Oleg

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
37 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