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

rowspan supported? #4

Closed
dingchaoyan1983 opened this issue Apr 12, 2019 · 3 comments · Fixed by #24
Closed

rowspan supported? #4

dingchaoyan1983 opened this issue Apr 12, 2019 · 3 comments · Fixed by #24
Labels
question Would be helpful to the others

Comments

@dingchaoyan1983
Copy link

dingchaoyan1983 commented Apr 12, 2019

does row span is supported? I find the clospan is supported in the example.

@nihgwu
Copy link
Contributor

nihgwu commented Apr 13, 2019

That's a good question, I think you could use the same technique as colspan, for example adding extra style to the cell you want to extend

    background: red;
    height: 100px;
    align-self: flex-start;
    z-index: 1;

image
if you want to overlap the space above, use align-self: flex-end and z-index could be removed

@nihgwu nihgwu added the question Would be helpful to the others label Apr 13, 2019
@nihgwu
Copy link
Contributor

nihgwu commented Apr 13, 2019

I will add a example for that later, thanks

@nihgwu nihgwu closed this as completed Apr 13, 2019
@nihgwu
Copy link
Contributor

nihgwu commented Apr 13, 2019

Just tested with a real example and it doesn't work so well because of virtualization, I tried to use overscanCount to workaround but only one side is over rendered, but react-window renders on both side, I'll update the example when I switch to react-window

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Would be helpful to the others
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants