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_Related Related Topics sp_TopicIcon
Error in Subgrid 4.4.5 in jQuery 1.9.1
15/04/2013
12:40
Avatar
r1u0d2y
Member
Members
Forum Posts: 3
Member Since:
15/04/2013
sp_UserOfflineSmall Offline

Hi,

I'm using newest version of jqgrid, with newest jQuery. 

I found out, that subgrid isn't working any more with newest jQuery (it isn't showing loaded data).

I have installed jQuery migration plugin and received following error:

JQMIGRATE: jQuery.browser is deprecated

You can easli reproduce this bug, in samples, just replace jQuery with it newest version. 
Do you know how to fix it? 


15/04/2013
13:00
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

I suppose that you have some problem with other JavaScript code of other Plugin which you use. The warning message "JQMIGRATE: jQuery.browser is deprecated" means that you use jQuery.browser somewhere. If you open jquery.jqGrid.src.js of jqGrid 4.4.5 and search for ".browser" text you will see that jqGrid don't use it. So you should examine other JavaScript and HTML files for existence of ".browser" text.

Regards
Oleg 

15/04/2013
13:05
Avatar
r1u0d2y
Member
Members
Forum Posts: 3
Member Since:
15/04/2013
sp_UserOfflineSmall Offline

Heh, 

after investigation I found out, that in Demo samples there ist reference to jquery.layout.js. And this file is cousing this error.

But removing it, doesn't changing my problem.

When I replace jQuery delivered with demo samles (v1.4.2) with newest one (v1.9.1), it doesn't show subgrid. 

15/04/2013
13:21
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Sorry, but it's absolutely another problem. You wrote "removing it, doesn't changing my problem". Do you mean that you still see the warning "JQMIGRATE: jQuery.browser is deprecated" or you just can't see subgrids? I don't know what you mean under "demo samles (v1.4.2)". I can imagine me a lot of wrong usage of jqGrid so that no subgrid will be displayed. If you want to find the bug in your code of a bug in jqGrid you have to provide the demo which reproduce the problem ofr you have to gebug your code yourself.

Regards
Oleg

15/04/2013
13:31
Avatar
r1u0d2y
Member
Members
Forum Posts: 3
Member Since:
15/04/2013
sp_UserOfflineSmall Offline

Ok, so one more time :)

To reproduce this bug, I’m using demo samples downloaded from website. In demo samples jQuery is delivered in Version 1.4.2, and it’s working fine.

Error with “jQuery.browser is deprecated” was caused by file delivered with demo samples, called jquery.layout.js. After removing this file and references, error isn’t showing up anymore.

After replacing jQuery version 1.4.2 with newest 1.9.1 in demo samples, I don’t see subgrid anymore. Grid is loading, but data from subgrid aren’t shown.

That’s my problem :)

EDIT:

With 1.9.0 it's working fine

15/04/2013
13:55
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Sorry, but I still can't follow you. Which demo sample exactly you mean and from which website you downloaded it. It the demo examples which you use are created for working with jQuery 1.4.2, then I'm not wonder that the demos don't work with jQuery 1.9.1. I suppose that the demos was created for some old version of jqGrid. If you don't included exact URL of the demo which you use then you just spend our time. I wrote you before that I have no idea which demo you use. Till now you don't posted any code of any clear reference on the code which you use.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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