Skip Menu |

This queue is for tickets about the Data-Table CPAN distribution.

Report information
The Basics
Id: 55946
Status: resolved
Priority: 0/
Queue: Data-Table

People
Owner: Nobody in particular
Requestors: hkr [...] psu.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Bug Report for the Data::Table cpan module
Date: Thu, 25 Mar 2010 16:21:06 -0400
To: bug-Data-Table [...] rt.cpan.org
From: Ken Rosenberry <hkr [...] psu.edu>
Hello Data::Table Programmer, First, thanks much for creating the Data::Table module! I'm using the module to output an html table from data gathered from BES's BigFix WebReports system. When generating the output, I use JQuery::TableSorter code so I the table can be dynamically sorted by columns within the web browser. The problem is, that since your html output doesn't surround the table header within <thead> and </thead> constructs, the java script code refuses to allow the table to be sorted. I modified your Table.pm module to add the <thead> and </thead> html and it works great. For completeness, I also added <tbody> and </tbody> html code which I think tablesorter code prefers. If you would consider adding the <thead> and <tbody> html to your code, that would help anyone else that might want to use tablesorter with your html output. I attached my modified version of Table.pm which shows where I placed the thead and tbody html code. Again, your module is superb -- Thanks!!! ~~Kenster Rosenberry, Systems Administrator, Penn State University

Message body is not shown because sender requested not to inline it.

Will add in the next version as suggested. Thanks.