Forum


15:49

29/06/2008

Trying the example.php out - loading everything into an iframe. I get the error listed above in Firebug when it tries to get the data from my remote mysql server (and yes I can get to this server on the command line). Any idea what might be causing this. I checked out grid.base.js and it looks fine, esp around line 562. Even downloaded another copy to make sure...
03:19

Moderators
30/10/2007

Try to construct you own grid example - see documaentation.
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.
08:57

29/06/2008

well.... that is what I was doing when i ran into the problem. all i did was change the access user and passwd to access my mysql host....
i did notice when i downloaded the zip package, in jgrid.base.js, the first character is a ; - I fixed that, but can't find the other error that is causing this.
09:14

Moderators
30/10/2007

This is not a bug, either broken zip. The ; before every plugin is a common approch of writing plugins. For more info refer to jquery google groups
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.
In the version of jqGrid I am using (3.2rc) line 562 in grid.base.js relates to datatype = jsonstring. If I understand the documentation correctly, this normally refers to data passed as a string and stored as a local var before being used as input to jqGrid; if you are attempting to use data returned directly from your server, I think the datatype should be 'json'. If you are already have datatype=json, then there is a bigger problem, one that I don't understand.
HTH
Reg
01:50

Moderators
30/10/2007

If possible try first to construct the grid whitout frames - i.e simple html
like those in the example page. See what is happen. If all is ok then try
with frames (I do not exclude that there can be a problem with frames).
Please let me known about the results.
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.
Most Users Ever Online: 715
Currently Online:
51 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