Interactive web datagrid
Quickstart Guide
Overview and installation
PJgrid is an opensource js/Ajax library allowing to implement into a web application the look and feel of a desktop datagrid.

PJgrid is released under the GNU Lesser General Public License: you can freely use this software for every personal or commercial purpos, link this library into every kind of software (free or not free), modify the code (since you remain under LGPL license). If you distribute this software you MUST send a copy of the LGPL license and leave in the scripts the copyright note.

PJgrid is a set of four javascript files, to be included into an html page. The inclusion requires the following steps:
  1. html page: MUST use a strict mode (<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">)
  2. inclusion of pjAjax.js (in HEAD or BODY)
  3. inclusion of pjDocument.js (in HEAD or BODY)
  4. inclusion of pjRecordSet.js (in HEAD or BODY)
  5. inclusion of pjGrid.js (in HEAD or BODY)
  6. your code for instanciating pjRecordSet and pjGrid objects
  7. a place into the html where to put the grid
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  <script src="pjAjax.js"></script>
  <script src="pjDocument.js"></script>
  <script src="pjRecordset.js"></script>
  <script src="pjGrid.js"></script>
    var myRecordSet=new pjRecordSet;
    var myGrid=new pjGrid();
Example 1: loading data into the grid
Example 2: working with external data