Forum

July 12th, 2025
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
JQgrid sends "false" ID in POST when updating cell
21/06/2010
22:39
Avatar
colecut
New Member
Members
Forum Posts: 1
Member Since:
21/06/2010
sp_UserOfflineSmall Offline

I'm trying to perform a cell-edit that updates the source SQL database.

I'm trying to change the Status field of the table, the row I'm updating is LeadId 152.

This is the POST string that FireFox tells me is being sent by Jquery:

Status=S&false=152&oper=edit

The false is what is troubling me.. It should be sending the name of the table's key field, I'm assuming.  It has the value of 152 correct, but the name of the field is not sent. I've tried specifically setting the "key" attribute for the LeadId column property, but JQGrid must already know this because it is pulling the proper value of the row I am editing... so why the false in the post string?

I'm created my own update script that works around this, but I'm trying to automate this using jqgrid php and need to get the right key name..

25/06/2010
11:03
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Which version is used?

How look your code?

You can configure the id posted value using the prmNames parameter.

http://www.trirand.com/jqgridw.....ki:options

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: 994

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