Login   Register  
PHP Classes
elePHPant
Icontem

Ajax Table Edit: Edit data in an HTML table using AJAX

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Andrew Sullivan
Name: Andrew Sullivan <contact>
Classes: 1 package by
Country: United States United States
Age: 32
All time rank: 13915 in United States United States
Week rank: 1145 Down123 in United States United States Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can be used to edit data in the cells of an HTML table using AJAX to save the changed cell values without reloading the current page.

It takes an bi-dimensional array as parameter to define the contents of the cells of the table to be edited. Then it generates the table HTML with the necessary JavaScript code to edit the cell contents.

The user may edit the cells by clicking on them. The cell is turned into a text input so the user can alter the cell contents with the keyboard. If you are using AdvATE then you can specify the type of input you want returned: text, textarea, select, radio, and checkboxes. For the latter three, you are able to specify the inputs and values to be presented to the user.

When the cell editing is finished, the data is saved using AJAX to send to the server the new cell value and the respective table row and column number.

  Classes of Andrew Sullivan  >  Ajax Table Edit  >  Download Download .zip .tar.gz  >  Support forum Support forum (5)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Ajax Table Edit
Base name: ajaxtableedit
Description: Edit data in an HTML table using AJAX
Version: 1.0.0
PHP version: -
License: GNU General Public License (GPL)
All time users: 12922 users
All time rank: 75
Week users: 1 user
Week rank: 1547 Down
 
  Groups   Rate classes User ratings   Trackback   Applications   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image AJAX Interact with the Web server without page reloading View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
May 2006
Number 3


Prize: One subscription to the PDF edition of the magazine by PHP Architect
Many Web applications need to provide means to display and edit bi-dimensional data, like for instance data stored in database table records.

This class provides an AJAX based solution that allows the users to see and manipulate tabular data interactively.

The data is displayed in a HTML table with content cells that can be edited right there without the need to load another page.

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (88%) Good (83%) - Sufficient (78%) - - Sufficient (60%) 869
Month: Not yet rated by the users

  Pages that reference this package  
PHP Class: Ajax Table Edit
A class can be used to edit data in the cells of an HTML table using AJAX to save the changed cell values without reloading the current page.

Latest pages that reference packages Latest pages that reference packages


  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imageAdvATE (4 files)
Plain text file AjaxTableEditor.class.php Class The main class file
Accessible without login Plain text file example.php Example Contains an example usage
Accessible without login Plain text file tester.txt Data Contains a serialized array of sample data

  Files folder image Files  /  AdvATE  
File Role Description
  Plain text file AdvATE.class.php Class Advanced Ajax Table Edit Class File
  Accessible without login Plain text file AdvATEexample.php Example Example for AdvATE
  Accessible without login Plain text file AdvATEexample2.php Example Another example for AdvATE
  Accessible without login Plain text file example2data.php Data Used by example2 to create sample data

Install with Composer Install with Composer - Download Download all files: ajaxtableedit.tar.gz ajaxtableedit.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.