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
JSONReader problem with jqgraph 3.6
13/11/2009
05:38
Avatar
Buga
Member
Members
Forum Posts: 9
Member Since:
23/03/2009
sp_UserOfflineSmall Offline

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.
17/11/2009
00:12
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

17/11/2009
03:18
Avatar
Buga
Member
Members
Forum Posts: 9
Member Since:
23/03/2009
sp_UserOfflineSmall Offline

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

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>

<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?



Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information