There are plenty of PHP data grid controls out there, but none that could satisfy me. I use data grids on almost every web site I develop. They come in great for displaying all kinds of data. I developed this data grid to suit all my needs and more.
| A few of the features include: || Check out HotScript: |
The above datagrid is built in only 6 lines of code!
You can even make the above example Ajax enabled with 1 line of code!
<?php// file: ex1.phprequire 'class.eyemysqladap.inc.php';
// Load the database adapter$db = new EyeMySQLAdap('localhost', 'root', '', 'people');
$dg = new EyeDataGrid($db); // Load the datagrid class
// Fetch all rows and columns from the `people` table$dg->setQuery("*", "people");
// Print the table$dg->printTable();
<?php// file: ex1-ajax.phprequire 'class.eyedatagrid.inc.php';
// Just call one function and your table is now totally Ajax enabled!EyeDataGrid::useAjaxTable('ex1.php');
Example 1 - Basic DataGrid [View] [Source] Example 1.5 - Basic DataGrid WITH AJAX [View] [Source] Example 2 - Filters, Headers, Column Types [View] [Source] Example 3 - More Features [View] [Source] Example 4 - Row Selection [View] [Source] Example 5 - Full Featured Ajax Demo [View] [Source]
|eyedatagrid-1.1.zip||93kb, v1.1.6, Released: 03-Dec-08|