filamentgroup / tablesaw

A group of plugins for responsive tables.
MIT License
5.48k stars 434 forks source link

Allows data-tablesaw-no-labels to be added to a <td> #341

Closed dsabados closed 5 years ago

dsabados commented 6 years ago

I encountered a scenario where a table had a colum which contained a URL and I didn't need a URL label to be displayed alongside it.

A row level data-tablesaw-no-labels would remove the labels for every td in that row and I only needed a label removed for a specific td.

Hence, I tweaked some code to allow a td to have its label suppressed.

I included a labelless.html page as an example of what I mean.

I'm unfamiliar with QUnit (or js testing frameworks for that matter). Although I'm interested in learning it I don't have the capacity at the moment. I figured this PR was more productive than raising an issue.

It also responds to this issue that was raised previously: https://github.com/filamentgroup/tablesaw/issues/144

zachleat commented 5 years ago

Thank you!