-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why data-sticky-last-left-td has element.style left: 150px;
#26
Comments
@tqdo I'm having the exact same issue. Were you able to solve it? |
I'm afraid the magic behind a sticky table is that the sticky column cells needs to have a defined width, so each cell has 150px of width and each sticky element has left: 0 150 300 etc |
my workaround was
|
Hmm... #26 .. maybe w/ multiple sticky columns provided, they all need a fixed width? That would sort of make sense to me based on comments seen there |
I am trying to make 2 columns left-sticky. The first column is fine, but for some reasons the 2nd one is not right next to the first one. Instead for some reasons it has style
left:150px;
and ends up on top of the 3rd column, which is not sticky.I tried to set
left:auto !important
for the 2nd column but it is no longer sticky. Really appreciate any help.The text was updated successfully, but these errors were encountered: