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
Problem with v.3.2.1 and method POST->GET
25/07/2008
13:03
Avatar
pako
Member
Members
Forum Posts: 33
Member Since:
06/06/2008
sp_UserOfflineSmall Offline

Hi Tonny,

I've update all jqgrid version to newest one (3.2.1) and none of my server side script doesn't work, the problem is I have posted data by $_POST method, when I change to $_GET everything is ok. What I need to do to change this to put date by POST? I don't want to change all my script.

Thanks

Paul

25/07/2008
13:24
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Paul,

What does not work? The default method for base grid is GET and

this as of version 1. If you want to change this either set

$.extend($.jgrid.defaults,{mtype:"POST"}) once

or set mtype parameter at every grid.

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.

26/07/2008
06:03
Avatar
pako
Member
Members
Forum Posts: 33
Member Since:
06/06/2008
sp_UserOfflineSmall Offline

Hi Tonny,

I don't know how it happend but in my file "server.php" I get all the data from grid by $_POST[] (until 3.2 version) when I update file to 3.2.1  all grid I have stop working (only updating, deleting and modifying data) when I change POST to GET everything is ok. I'll check your solution for a moment.

Thanks

Paul

26/07/2008
09:37
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Paul,

You should look not at server but at what is posted.

If you have FireBug you can easy see in the console which type is

the request - POST or GET.

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.

27/07/2008
11:28
Avatar
pako
Member
Members
Forum Posts: 33
Member Since:
06/06/2008
sp_UserOfflineSmall Offline

I know, I have firebug, earlier, when I have iqgrid 3.2 data have been posted by POST, and now, the same data is posted by GET. I solve this problem in php, i write a function which get data from POST and GET:)

Thanks,

Paul

28/07/2008
02:35
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Not sure, but open the 3.2 grid.basegrid.js and see

in the initial settings what you have for mtype. Maybe you have set it

manuallly here to "POST"

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
63 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