Jspreadsheet is a lightweight vanilla javascript plugin to create amazing web-based interactive tables and spreadsheets compatible with other spreadsheet software.
The advantage of th elements is that they can be used with position:sticky CSS. Which means it become very easy to always keep the headers frozen at the top with some CSS.
I've hacked the library to output th's in the thead, and have seen no adverse effects (yet). I've done this for the headers and the filters.
The advantage of
th
elements is that they can be used withposition:sticky
CSS. Which means it become very easy to always keep the headers frozen at the top with some CSS.I've hacked the library to output th's in the thead, and have seen no adverse effects (yet). I've done this for the headers and the filters.