Insert data attribute onto table header columns

This commit is contained in:
Dan Sosedoff 2014-10-18 07:55:55 -07:00
parent bd15fed595
commit 367c0373f9

View File

@ -61,7 +61,7 @@ function buildTable(results) {
var rows = ""
results.columns.forEach(function(col) {
cols += "<th>" + col + "</th>";
cols += "<th data='" + col + "'>" + col + "</th>";
});
results.rows.forEach(function(row) {