histories-in-transition / hit-astro

https://histories-in-transition.github.io/hit-astro/
0 stars 0 forks source link

Improve tables #1

Open ivanadob opened 1 week ago

ivanadob commented 1 week ago

What to do:

  1. set the sorting function
  2. drop down suggestions
  3. pagination (not necessary for now, but maybe in the future?)

Consider using a headless table (e.g. TanStack) that provides the calculation but does not control the style and markup - overkill for now.

csae8092 commented 1 week ago

Please use tabulator.js as it includes all mentioned features (and many many more) out of the box

see https://github.com/olifolkerd/tabulator/issues/4325#issuecomment-1782755213 for using tailwind with tabulator.js