There are several components with dynamic size inside one div
. One of those components would be a react-virtualized
Table
.
How would you implement it to have just one scroller in the parent div
?
It seems like WindowSroller
won't help, since I want to have a page without common scroller, but with two separate ones instead. One for Column A
and one for Column B
.
||================================================================================||
|| Some static header ||
||================================================================================||
Column A Column B
||========================================|| ||=================================||
|| || || ||
|| A component with dynamic height || || ||
|| || || ||
||========================================|| || ||
||||====================================|||| || ||
|||| |||| || ||
|||| Component with dynamic height |||| || Component with dynamic height ||
|||| |||| || ||
||||====================================|||| || ||
||||====================================|||| || ||
|||| |||| || ||
|||| react-virtualized Table |||| || ||
|||| |||| || ||
||||====================================|||| || ||
||========================================|| ||=================================||