Forum


09:53

15/07/2008

Hello,
I'am trying to use Jqgrid
Now i have one proble, i got the error "XML Parsing Error: XML or text declaration not at start of entity"
i have user the "header"
i don't know whether it is beacause that i have used zend framework, i have just the "action" mais not "somephp.php"
for exemple:
jQuery("#list").jqGrid({
url:'/support/app',
.............
please help me, thank u
10:03

Moderators
30/10/2007

IMHO this is not jqGrid problem.
googling you can find a lot solutions one of them maybe is here
Regards
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.
10:12

15/07/2008

thank i tony, i will read it
can i ask another question:
i tried also the "json", i have one row in the data base, the encoding "json" return me:
{"page":null,"total":1,"records":"1","rows":[{"id":"1","invdate":"2008-07-25","name":"toto","amount":"0.00","tax":"0.00","total":"0.00","note":"ffffffffffffffffffffffffffffff"}]}
this line is in the bottom of the page
but in my grid, there is nothing. What could be the problem please?
04:22

Moderators
30/10/2007

Did you see something strange in the request?
”page”:null,”total”:1,”records”:”1″,”rows”:
I recomment to enlose the values in barkets
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:44

15/07/2008

thank u, i have seen that.
my problem is, i use the zend framework, l'architecture MVC, so i have the actions, for exemple:
url:exemple.php
for me i have to use url:/mycontoller/myaction
i can see the header/footer of the table, i cannot put the data in the grid.
i have tried all the méthode, no sucesse!
i am so sad, i am eager to use this in my project
any ideas?
05:16

Moderators
30/10/2007

This type of passing parameters is not suported in jqGrid
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.
06:27

Moderators
30/10/2007

If you have interest you can easy extend this and I will help you to do
that
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.
I use Zend Framework and Jqgrid without any problem:
url:"/intranet/contact/list?nd="+new Date().getTime()
works perfectly well for me...
06:01

13/11/2008

Hi all
Fortunately this is rather easy to acomplish using Zend Framework.
If you use mtype: 'GET' in jqGrid, then use
$page = $this->_request->getQuery('page'); in your Zend action.
If you user mtype: 'POST' in jqGrid, then
$page = $this->_request->getParam('page') in you Zend action.
Hope this helps somebody!
Cheers
Most Users Ever Online: 715
Currently Online:
58 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