Forum


05:38

23/03/2009

I upgrade my site from 3.4 to 3.6. First I had the same problems like others with the missing ui stuff but with adding the jquery-ui-1.7.2.custom.min.js|these problem was fixed.
My current problem is that my grids still work but all infos in the pager are missing. e.g. Page, rows, total rows and so on.
This is the struct I return in my CFC.
<cfset strReturn = {page=#Arguments.page#,total=#totalPages#,records=#qGetAnzahl.anzahl#,rows=arr,userdata=#userdata#}>
this is the definition of my jsonreader:
jsonReader: {
root: "ROWS",
page: "PAGE",
total: "TOTAL",
records:"RECORDS",
userdata:"USERDATA",
cell: "",
id: "0"
}
and this is the json string I get with firebug:
{"ROWS":[[574,"",<many more rows>
," 04",""]],"PAGE":1.0,"TOTAL":526.0,"USERDATA":{"MSG"
:1,"TYPE":"Success"},"RECORDS":526}
With the old version everything worked so where is the problem here? I tryed alot different versions with the jsonreader order.
Also I tryed small and capital letters. I have no idea how to fix this.
00:12

Moderators
30/10/2007

Hello,
Be a sure that you have replaced the language file too. It contain this information
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.
03:18

23/03/2009

I followed the instructions in the wiki. So I am using the current language file.
here is a short extract of the genereated html code
<html>
<head>
<link rel=“stylesheet” type=“text/css” href=”/css/jqgrid/themes/steel/jquery-ui-1.7.2.custom.css“>
<link rel=“stylesheet” type=“text/css” href=”/css/jqgrid/ui.jqgrid.css“>
<link rel=“stylesheet” type=“text/css” href=”/css/gridWerkstoffDB.css“>
<link rel=“stylesheet” type=“text/css” href=”/css/jqgrid/custom.css“>
<script language=“JavaScript” src=”/js/jqgrid/jquery-1.3.2.min.js“></script>
<script language=“JavaScript” src=”/js/jqgrid/grid.locale-en.js“></script>
<script language=“JavaScript” src=”/js/jqgrid/jquery-ui-1.7.2.custom.min.js“></script>
<script language=“JavaScript” src=”/js/jqgrid/jquery.jqGrid.min.js“></script>
<script language=“JavaScript” src=”/js/jqgrid/WerkstoffDB.jqGrid.js“></script>
</head>
….
any other idea why it doesnt work?
Most Users Ever Online: 715
Currently Online:
64 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