StickyTableHeaders
StickyTableHeaders copied to clipboard
Sticky first column
Hello ! It´s amazing this plugin I would like to know if it is possible to stick first column. I am actually using it with the header of the table. Can I use both (first row and first column)? Thanks!
:+1:
I am also interested in a sticky first column for this plugin. Thanks for considering!
I've implemented sticky column in Scala.JS. It adds position:relative when scrolling.
It works mostly well on desktop, but it is a disaster on mobile. Firefox for Android scrolls it with some painful lag. Chrome for Android just ignores it. (I've read somewhere that WebKit ignores position: relative on table cells.)
Example page using the implementation: https://zbdb.v6ak.com/2016.html?horizontalStickyness
If someone is interested in the implementation (I hope it is readable even for non-Scala programmers), sources are here:
- https://github.com/v6ak/zbdb-stats/blob/master/client/src/main/scala/com/v6ak/zbdb/HorizontalStickiness.scala
- https://github.com/v6ak/zbdb-stats/blob/master/client/src/main/scala/com/v6ak/zbdb/ValueGuard.scala
+1 for sticky first column with this plug-in. A bunch of other plug-ins have various combinations, but this one seems to be the one that does the smoothest job, without depending on a lot of extraneous stuff and blending well with bootstrap grid. it would be great if StickyTableHeaders could also handle a sticky first column.
+1 for sticky column from my side as well.