3 rows in the header
seeden opened this issue · 2 comments
seeden commented
Current table has support only for 2 rows via ColumnGroup.
Will you support 3 and more rows in short run?
wcjordan commented
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 commented
Current table has support only for 2 rows via ColumnGroup.
Where is this documented?