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

3 rows in the header #237

Open
seeden opened this issue Oct 3, 2017 · 2 comments
Open

3 rows in the header #237

seeden opened this issue Oct 3, 2017 · 2 comments

Comments

@seeden
Copy link

seeden commented Oct 3, 2017

Current table has support only for 2 rows via ColumnGroup.
Will you support 3 and more rows in short run?

@wcjordan
Copy link
Member

wcjordan commented Oct 3, 2017

We've had some discussion on (#27) regarding supporting more flexible headers. You're welcome to contribute use cases and ideas there, but for the short term I recommend creating your own header component and using the onHorizontalScroll prop to sync the scroll. The callback passed to onHorizontalScroll will receive the scrollX value on each scroll.

You can use the scrollLeft prop as well if you want to sync the grid scroll to match a scroll in your header component.

@gajus
Copy link

gajus commented Mar 14, 2019

Current table has support only for 2 rows via ColumnGroup.

Where is this documented?

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

No branches or pull requests

3 participants