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_Related Related Topics sp_TopicIcon
Server Side Code example for Add new Row?
08/04/2010
04:28
Avatar
Preichow
Member
Members
Forum Posts: 13
Member Since:
24/03/2010
sp_UserOfflineSmall Offline

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!

11/04/2010
08:14
Avatar
Preichow
Member
Members
Forum Posts: 13
Member Since:
24/03/2010
sp_UserOfflineSmall Offline

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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