-
Notifications
You must be signed in to change notification settings - Fork 751
Description
I am looking to be able to use the sticky headers widget in a way that I can't find documented anywhere but I think is a fairly common use case: the headers are sticky in vertical scrolling of the window, but also scroll horizontally with the table based on a table wrapper.
This is useful for sticky headers on mobile. The wrapper allows for horizontal scrolling of a table when the viewport is not wide enough without having to horizontally scroll the entire page. But the table itself should still be fully visible vertically - the wrapper shouldn't cut that off.
This works fine, except that as you scroll the wrapper horizontally the sticky header doesn't scroll with it.
Here's an example: https://jsfiddle.net/nnxsvwn2/6/
Any thoughts on how to achieve this? Or if there's another way to accomplish what I'm looking to do?
Thanks in advance for any and all help, and let me know if there's anything I can clarify.