Forum
November 2nd, 2014
A
A
A
Topic RSS
Offline
The forums are currently locked and only available for read only access


Problem with displaying grid data
03/10/2011
02:11
02:11

nk94555
New Member
Members
Forum Posts: 1
Member Since:
03/10/2011
03/10/2011

Hi,
I am not able to display grid data using json data return by ajaxcall. Here is my json response:
{"Total":27,"Page":1,"Records":1337,
"Rows":[
{"ID":2769,"NickName":"?test.asp?id=88&a=test","Type":1,"Scoring":0,"PageURL":"http:\/\/xxx.com?test.asp?id=88&a=test","Grouping":0,"Content":"Default","Index":1},
{"ID":2736,"NickName":"15 TIPS FOR ACCELERATING","Type":1,"Scoring":20,"PageURL":"http:\/\/www.yyy.com\/InfoCenter\/landing_15tipstoacceleratesales.asp?","Grouping":0,"Content":"Default","Index":2},$("#activityScoreGrid").jqGrid({
...
]
}
I am setting grid like:
url: "/scoring/getNickNames",
dataTtpe:"json",
height: '100%',
width: '100%',
colNames: ['NickName','Url'],
colModel: [
{sortable:false, resizable:false, width:500, name:"NickName", index:"NickName"},
{sortable:false, resizable:false, width:500, name:"PageURL", index:"PageURL"}
],
loadonce: true,
gridview: true,
jsonReader: {
root: "Rows",
page: "Page",
total: "Total",
records: "Records",
repeatitems: false,
cell: "cell",
id: "ID"
}
});
Can someone please take a look let me know what could be wrong with the above?
Thanks for the help.
Forum Timezone: Europe/Sofia
Most Users Ever Online: 715
Currently Online:
43 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66