3 ms·
> 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 i
by duckmysick 5y ago
> 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.