PHP Classes

PHP data grid class: Display MySQL query results in HTML tables

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 7,090 All time: 275 This week: 46Up
Version License Categories
datagridclass 1.0.0Free To Use But R...HTML, Databases
Description 

Author

This class can be used to display MySQL query results in HTML tables.

It executes a given SQL SELECT query and generates an HTML table defined by a template to display the query results.

The results table also shows links to navigate between query result pages. The number of result rows to display per page is configurable.

The results can be sorted by columns that the user may choose by clicking on column links. The list of sortable columns may be restricted.

A special column may be displayed with check box inputs to let the user choose specific rows to perform additional operations on the selected rows.

The content of the fields may be changed using custom callback functions.

The Javascript to handle row click events may also be customized.

Additional columns may be added to the generated table using a customization sub-class.

Picture of Stefan Gabos
Name: Stefan Gabos <contact>
Classes: 12 packages by
Country: Romania Romania
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

 

Recommendations

read html files
I need to read and publish html file content

Display multiple table records with HTML
How to display multiple table records in an HTML page?

Screenshots (1)  
  • screenshot.gif
  Files folder image Files (16)  
File Role Description
Files folder imageexamples (6 files)
Files folder imageincludes (2 files)
Files folder imagelanguages (1 file)
Files folder imagetemplates (1 directory)
Plain text file class.datagrid.php Class class source
Plain text file License Lic. license file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:7,090
This week:0
All time:275
This week:46Up
User Ratings User Comments (2)
 All time
Utility:85%StarStarStarStarStar
Consistency:79%StarStarStarStar
Documentation:-
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1410