Forum
14:34
This works for JSON, not XML. Took the JSON code and duplicated under the XML area:
--- grid.base.js 2009-08-17 14:22:34.174493400 -0400
+++ /c/Java/jqgrid-3.5.2/src/grid.base.js 2009-08-14 02:55:20.000000000 -0400
@@ -421,9 +422,8 @@
ts.p.totaltime = new Date() - startReq;
if(ir>0) {ts.grid.cols = ts.rows[0].cells;if(ts.p.records===0)ts.p.records=gl;}
rowData =null;
- if(!ts.p.treeGrid && !ts.p.scroll) {ts.grid.bDiv.scrollTop = 0;}
- ts.p.reccount=ir;
- ts.p.treeANode = -1;
+ if(!ts.p.treeGrid && !ts.p.scroll) {ts.grid.bDiv.scrollTop = 0; ts.p.reccount=ir;}
+ ts.p.treeANode = -1;
if(ts.p.userDataOnFooter) $(ts).footerData("set",ts.p.userData,true);
updatepager(false);
},
11:04
Moderators
30/10/2007
Hello,
Should check this. Thanks.
Best 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.
07:19
Moderators
30/10/2007
Hello Kuzguni,
Could you please provide test case - link or code?
Also please check how you format your user data when you use xml. Please read the docs - chapter Retrieving Data
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.
04:53
Problem is solved. My fault was;
I write value on xml result for "index" value.
Right one use it with "name"
colModel:[ {name:'MyAmount',index:'amount', width:80, align:"right", formatter: 'number'}, {name:'total',index:'total', width:80,align:"right", formatter: 'number'} ]
My Wrong:
<userdata name="amount">123</userdata>
Right:
<userdata name="MyAmount">123</userdata>
Thanks for your interest.
Most Users Ever Online: 715
Currently Online:
93 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