tablesorter
tablesorter copied to clipboard
[email protected]: xScroll for header
When stickyHeaders_xScroll is set, table header is not scrolling with table.
Perhaps changing https://github.com/Mottie/tablesorter/blob/v2.31.3/js/widgets/widget-stickyHeaders.js#L157 to something like:
return wo.stickyHeaders_xScroll
? -$xScroll.scrollLeft()
: $attach.length
? parseInt($attach.css("padding-left"), 10) || 0
: $table.offset().left -
parseInt($table.css("margin-left"), 10) -
$(window).scrollLeft();
Hi @motasus!
Would you show me a demo of this problem? It would make it easier for me to examine the problem. I'd appreciate it! Thanks!
here's plunker https://plnkr.co/edit/0Xm0dmsrUqw01iqb?open=lib%2Fscript.js&preview
there is extra floatingScroll plugin (not affecting the problem)