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
Firebug error: prm is undefined.
22/09/2010
18:15
Avatar
Jazar
Member
Members
Forum Posts: 9
Member Since:
01/09/2010
sp_UserOfflineSmall Offline

I'm trying to load a jqgrid with json data (& virtual scrolling).  When using firebug it seems to halt on 'i = prm.length' (source code grid.base.js, function getAccessor, line 126, jqGrid 3.8) where prm is undefined with every data row. It seems that the error is handled after its raised but I'm wondering if there is something wrong on my end or if the code should be modified to not crash firebug on every row. 

The error begins here in function addJSONData:

if( ts.p.keyIndex===false ) {

idn = dReader.id;
} else {
idn = ts.p.keyIndex;
ts.p.keyIndex is 0 therfore idn is set to 0 which goes to obj[0] (function getAccessor line 120) is undefined therefore finally prm is undefined. I have the first column defined with 'key:true'.
Any help is appreciated. Thank you.
Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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