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: 286 This week: 1All time: 7,427 This week: 261Up
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
  Performance   Level  
Name: martin barker <contact>
Classes: 14 packages by
Country: United Kingdom
Age: 30
All time rank: 29614 in United Kingdom
Week rank: 141 Up5 in United Kingdom Up
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:286
This week:1
All time:7,427
This week:261Up
User Comments (1)
Very nice post, thank you very much.
5 years ago (goodbee)
57%StarStarStar
 

For more information send a message to info at phpclasses dot org.