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
"Idiot Save" way to save edited cells to mysql database
11/08/2009
19:12
Avatar
Hannes
Guest
Guests

Hey guys,

first i want to thank the authors for this awesome plugin. but i have some problems now....i never dreamed i could do something like that, before i found your plugin, but now i really want to get this running. 😀

i'm looking for a "idiot save" way to save edited cells to a mysql database. i used forum search, but there is always same comment " use getchangedcells" but i dont have a clue how the php should look like. what is the name of the get or post parameters? im pretty much a noob in js, so it would be really nice, if some could explain it to me in an "idiot save" way. 😀

thanks in advance for your replies.

Hannes

12/08/2009
14:23
Avatar
Hannes
Guest
Guests

ok, i got it working with the samples from riverguardian. but i have a problem with the id.....i have table column with the name id too and this column is shown as "ID" in the grid....when i load the data via json everything is fine. the row with the id 3 is shown as first row in the grid with value 3 in id cell. when i edit the data id=1 is send to the edit.php, so its saving to the wrong row. how can i send the correct identifier to the edit.php?

13/08/2009
02:36
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Change the name of the column.

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.

25/09/2009
08:41
Avatar
sici
Member
Members
Forum Posts: 3
Member Since:
24/09/2009
sp_UserOfflineSmall Offline

i have the same problem… 

here is a complete example, for download and learn

Cool

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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