Skip to content
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

Pin any column! #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Pin any column! #3

wants to merge 2 commits into from

Conversation

valpackett
Copy link

Yay!

@smileyj68
Copy link
Contributor

Can you give me a little rundown on how this is implemented?

@valpackett
Copy link
Author

splitTable takes a selector. When it's invoked on resize, it's :first-child. When you click a header (th), the table is unsplit and split with :nth-child(number of the header you clicked)

@smileyj68
Copy link
Contributor

Okay this is very cool. Can you check something for me though? Try it out in Chrome, and click on the Perk Req column header. For some reason the pinned column is getting jacked.

@valpackett
Copy link
Author

This is because there are empty cells…

@smileyj68
Copy link
Contributor

Solvable? There's likely to be tables with empty cells people try and use this for.

On Jun 4, 2012, at 11:53 AM, Greg V wrote:

This is because there are empty cells…


Reply to this email directly or view it on GitHub:
#3 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants