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

Any reason why we can't use semantic markup? #15

Open
n3ps opened this issue Jun 8, 2020 · 3 comments
Open

Any reason why we can't use semantic markup? #15

n3ps opened this issue Jun 8, 2020 · 3 comments

Comments

@n3ps
Copy link

n3ps commented Jun 8, 2020

Can't we use semantic <table>, <thead>, <tbody> markup and have sticky headers/column too?

@GuillaumeJasmin
Copy link
Owner

react-table-sticky could work with any semantic markup if you have correct CSS, but <table> come with predefine CSS, and I could be difficult to get the correct behaviour.

@richdotjs
Copy link

Is there are a work around for this? I'm trying to use the react-table-sticky package on an existing react-table that is quite complex. It would be a lot easier if we could figure a work around for it instead of trying to convert the semantic markup itself.

@jnachtigall
Copy link

In case somebody was able to create an example using semantic <table>, <thead>, <tbody> it would be cool if a codesandbox or similar could be posted :-) I would be particularly interested in sticky columns. (I am new to react-table so I'll probabably start with the "div" based approach myself)

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

No branches or pull requests

4 participants