PHP Classes

Render Table: Render HTML tables using list elements

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 298 All time: 7,416 This week: 177Up
Version License PHP version Categories
render-table 1.4GNU Lesser Genera...5.3HTML, PHP 5, GUI
Description 

Author

This class render HTML tables using list elements.

It takes an array of data and generates HTML UL and LI tags to display the data as list of rows and columns using a given CSS definition to make it render correctly as a table.

The class can receive columns that will be hidden but can be used for link building.

Rules can be defined to specify how to turn certain cells into external links that open on separate browser windows.

Innovation Award
PHP Programming Innovation award nominee
August 2014
Number 8


Prize: One copy of VS.PHP
HTML tables allow groups of page elements to be rendered in such way that they may be aligned both vertically and horizontally. However, HTML tables prevent that the elements layout be defined by separate CSS definitions.

This class provides an alternative solution to layout groups of page elements using HTML lists instead, i.e. it does not require using tables to align the page elements.

Manuel Lemos
Picture of Martin Barker
  Performance   Level  
Name: Martin Barker <contact>
Classes: 14 packages by
Country: United Kingdom
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file demo.php Example Demo file showing how to use
Accessible without login Plain text file renderTable.css Data Basic CSS
Plain text file RenderTable.php Class TheMainClass
Plain text file Singleton.php Class Singleton instance class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:298
This week:0
All time:7,416
This week:177Up
User Comments (1)
Very nice post, thank you very much.
9 years ago (goodbee)
57%StarStarStar