Skip to content

CodeIgniter Table helper library with Table Footer (tfoot) support

Notifications You must be signed in to change notification settings

rozzaaq/TableWithTableFooter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

TableWithTableFooter

CodeIgniter Table helper library with Table Footer (tfoot) support

created to scratch my own itch, published to encourage others to do the same.

Answers: http://stackoverflow.com/questions/13916646/how-to-add-a-tfoot-row-to-table-generated-with-codeigniter-table-class

To install:

  1. download MY_Table.php file
  2. copy My_Table.php to htdocs/application/libraries/MY_Table.php
  3. if necessary change the file name to your extended library prefix, google how to do that

To use:

  1. $this->load->library('table');
  2. $this->table->set_footer('tfoot_cell1', 'tfoot_cell2'); // just like set_header

Disclaimer:

This works, but I don't even like CodeIgnigher so it probably looks like it. Do your own testing.
I am using it production, and intend to make fixes as necessary.

About

CodeIgniter Table helper library with Table Footer (tfoot) support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%