PHP Classes

Table Element: Generate HTML tables from the contents of cells

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,076 All time: 3,459 This week: 488Up
Version License Categories
table_element 1.0GNU General Publi...HTML
Description 

Author

This class generates HTML tables just by defining the contents of the table cells.

All the attributes of the HTML tags (table, tr and td) can be set using the class functions, including the attributes for defining the table elements event handling Javascript code.

The contents of the cells can be defined specifying the cell row and column coordinates.

If there were any table cells left in blank, the class will automatically expand the span of the preceeding row cells to include the blank cells. The class may also be instructed to include blank cells in the span of the preceeding row.

The HTML code generated is compliant with XHTML and is also correctly indented.

Picture of Carlos Reche
Name: Carlos Reche <contact>
Classes: 10 packages by
Country: Brazil Brazil
Age: 41
All time rank: 613 in Brazil Brazil
Week rank: 178 Down11 in Brazil Brazil Down
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files (2)  
File Role Description
Plain text file class.tableelement.php Class TableElement class file
Accessible without login Plain text file example.php Example A few examples of how to use TableElement class

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:1,076
This week:0
All time:3,459
This week:488Up