News for hackers. Stuff that matters.
Re:Show HN: With a 9-5 job and 2 kids I have finally finishe... by duckmysick on Saturday August 28, 2021 @05:56PM (#28341852)
> Making tables responsive is utterly hellish.

It really is.

I briefly considered sticky/frozen columns, but I wanted sticky headers too - which I think are important too. In your NBA example it's difficult to tell what the numbers exactly mean without scrolling back to the top. I researched a few options some time ago, but all of them were complicated or flat out not working. Datatables.js had a crazy workaround: the fixed columns were separate tables styled to look like they are part of the main table.

I ended up with a summary view that had just 3 columns, so no side scrolling was necessary. There was a filter option, where users could select other columns that interested them. Not perfect, but it turned out ok.

The hunt continues.

There are no comments on this comment yet.