StickyTableHeaders icon indicating copy to clipboard operation
StickyTableHeaders copied to clipboard

Sticky first column

Open juanmartinhernandez opened this issue 9 years ago • 5 comments

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!

juanmartinhernandez avatar Sep 02 '15 20:09 juanmartinhernandez

:+1:

oppianmatt avatar Nov 25 '15 16:11 oppianmatt

I am also interested in a sticky first column for this plugin. Thanks for considering!

ddurose avatar Apr 12 '16 20:04 ddurose

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

v6ak avatar Oct 09 '16 14:10 v6ak

+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.

xxandy avatar Jun 27 '17 02:06 xxandy

+1 for sticky column from my side as well.

vaibhavarora14 avatar Feb 04 '19 03:02 vaibhavarora14