A group of plugins for responsive tables.
<td data-tablesaw-no-labels>
(in addition to existing support on <table>
and <tr>
) from PR #341—thanks @dsabados!refreshPriority
call on column toggle table #337<table>
element to Tablesaw.init()
#340colspan
on stack tables #344, #288reverse
JavaScript error when using mode switcher to switch from Stack to Swipe to Stack again #350Full issue list: https://github.com/filamentgroup/tablesaw/milestone/14?closed=1
Very small bug fix release: https://github.com/filamentgroup/tablesaw/milestone/12?closed=1
Bug fix release for #333.
import
for bundlers and test frameworks. Tested with ava
and webpack
.Tablesaw.init()
or Tablesaw.init(element)
for initialization instead of a separate tablesaw-init.js
file, although that mechanism is still supported. Works before or after DOMContentLoaded.refresh()
and swipe tables.colspan
without caveat on header cells now.All issues closed: https://github.com/filamentgroup/tablesaw/milestone/11?closed=1
tablesaw.js
has no dependencies but is larger (10.71KB after min/gzip)tablesaw.jquery.js
requires jQuery or shoestring and is smaller (6.15KB after min/gzip)data-tablesaw-no-touch
to opt out of touch events on swipe mode.jQuery.fn
method changed from $('…').table()
to $('…').tablesaw()
jQuery.fn.data
key changed from $('…').data('table')
to $('…').data('tablesaw')
data-sortable-numeric
option has been namespaced/renamed to data-tablesaw-sortable-numeric
.Issues fixed: https://github.com/filamentgroup/tablesaw/issues?q=is%3Aclosed+milestone%3A3.0.0
Additional shoestring compatibility fixes. See https://github.com/filamentgroup/tablesaw/releases/tag/v2.0.0 for backwards incompatible change.
For easier inclusion with a component library, we’ve separated out the auto-init into a separate optional file. This breaks backwards compatibility in that you need to include two JavaScript files:
<script src="tablesaw.js"></script>
<script src="tablesaw-init.js"></script>
This is reflected on the newest documentation at https://github.com/filamentgroup/tablesaw