Forum



04:28

24/03/2010

Does anyone know of a PHP code example to add a New Row?
I'm using the jqGrid plugin, and I'm able to fill my grid with data from a database.
The documentation does a good job of explaining this and showing code examples.
However, I don't see any server-side code examples anywhere for adding a row.
Maybe I overlooked it?
thanks!
08:14

24/03/2010

Just wanted to let everyone know that I found a good tutorial for editing data using jqGrid.
http://www.packtpub.com/articl.....gin-jqgrid
This tutorial uses JSON as a data exchange format, so it was useful to learn about this way of exchanging data, rather than the usual XML examples.
Note: To get the tutorial to work, you'll need to download the source files, which are actually located where you download the code for the book. (The code as shown in the tutorial doesn't work). The grid tutorial is Chapter 8 in their book, Ajax & PHP, Building Responsive Web Applications.
Apparently, their code doesn't allow you to add New Rows, it just allows you to edit existing rows.
But, it's a good start.
Most Users Ever Online: 715
Currently Online:
153 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