HTML::DashboardSpreadsheet-like formatting for HTML tables, with data-dependent coloring and highlighting: formatted reports | |
Download |
HTML::Dashboard Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Philipp K. Janert
- Publisher web site:
- http://search.cpan.org/~janert/
HTML::Dashboard Tags
HTML::Dashboard Description
Spreadsheet-like formatting for HTML tables, with data-dependent coloring and highlighting: formatted reports HTML::Dashboard is a Perl module that tries to achieve spreadsheet-like formatting for HTML tables.Rather than having to build up an HTML table from data, row by row and cell by cell, applying formatting rules at every step, this module allows the user to specify a set of simple rules with the desired formatting options. The module will evaluate the rules and apply the formatting options as necessary.The following features are supported: * User-defined formatting of first, last, even, and odd rows or columns. * Conditional formatting, based on the contents of each cell. * Sorting (on any column or combination of columns, with user defined sort-order). * Pagination of the data set. * Definition of "views", i.e. restriction of the set of columns shown. * User-defined column captions. * On-the-fly formatting and collating of the data.SYNOPSIS use HTML::Dashboard; my $dash = HTML::Dashboard->new(); $dash->set_data_without_captions( , , , , ] ); $dash->set_captions( qw( Code Number Name ) ); $dash->set_cell_low( 1, sub { $_ < 1 }, 'lime' ); $dash->set_cell_hi( 1, sub { $_ > 5 }, style => "background-color: red; font-weight: bold" ); print $dash->as_HTML(); Requirements: · Perl
HTML::Dashboard Related Software