Tablesaw: A Flexible Tool for Responsive Tables
September 2023 Update: parts of this jQuery plugin are now available as an updated web component.
Originally posted as Tablesaw: A Flexible Tool for Responsive Tables on the Filament Group Lab.
Next to coming up with project names, managing tables in a responsive layout is one of the trickiest problems in web development. Semantically structured tables are notoriously difficult to style as anything other than… well… a table. On the other hand, cobbling together a pile of
div
s andspan
s into a table-like shape means giving up the semantic meaning, accessibility, and navigability of realtable
elements to represent tabular data, or it means jumping through hoops to recreate those features. When it comes down to it, the semantic benefits of realtable
elements make them our first and best choice.
Available on GitHub
Demos
Install using NPM
npm install tablesaw
Install using Bower
bower install filament-tablesaw