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
error : ccur is undefined
15/03/2009
23:50
Avatar
datix
New Member
Members
Forum Posts: 2
Member Since:
16/03/2009
sp_UserOfflineSmall Offline

I am trying to reference my data using json using names:

ccur is undefined
http://hostname/jqGrid/js/grid.base.js
Line 823

The response from the server looks like this:

{"total":"1","page":"1","records":"4","rows":[{"c_contact_id":"2","c_first_name":"Michael","c_last_name"
:"1237156971","cn_contact_number_id":"3","cn_type":"mobile","cn_number":"13132324334"},{"c_contact_id"
:"2","c_first_name":"Michael","c_last_name":"1237156971","cn_contact_number_id":"4","cn_type":"home"
,"cn_number":"14148991234"},{"c_contact_id":"1","c_first_name":"Michael","c_last_name":"1237156910","cn_contact_number_id"
:"1","cn_type":"mobile","cn_number":"13132324334"},{"c_contact_id":"1","c_first_name":"Michael","c_last_name"
:"1237156910","cn_contact_number_id":"2","cn_type":"home","cn_number":"14148991234"}]}

My colModel looks like this:
"colModel":[
{"name":"c_contact_id","index":"c_contact_id","width":120},
{"name":"cn_contact_number_id","index":"cn_contact_number_id","width":120},
{"name":"c_first_name","index":"c_first_name","width":120},
{"name":"c_last_name","index":"c_last_name","width":120},
{"name":"cn_type","index":"cn_type","width":120},
{"name":"cn_number","index":"cn_number","width":120}
],
"multiselect":false,
"root":"rows",
"repeatitems":false,
"id":"c_contact_id",


Thanks much for any help!
16/03/2009
06:18
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

And how look your jsonReader. Maybe you forgot to set repeatitems: false

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.

16/03/2009
07:21
Avatar
datix
New Member
Members
Forum Posts: 2
Member Since:
16/03/2009
sp_UserOfflineSmall Offline

The post did not wrap correctly. The following lines where also not displayed.

"multiselect":false,
"root":"rows",
"repeatitems":false,
"id":"c_contact_id",


Thanks!
17/03/2009
01:43
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Please do not eclose this - just write it here or if you have problems send me this to tony at trirand dot com

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:
38 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