You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scroll bar in windows takes up space so that table is distorted when there is a fixed header. E.g. see below screenshot:
It can be fixed by adding a margin right that is the width of the scrollbar to the header row. The header row should only have a margin right but not the rows. I am unable to do it.
This is from virtualized row example. I have added some scrollbar styles then I am trying to add a margin right to header div but it is also applying to the rows div.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Scroll bar in windows takes up space so that table is distorted when there is a fixed header. E.g. see below screenshot:
It can be fixed by adding a margin right that is the width of the scrollbar to the header row. The header row should only have a margin right but not the rows. I am unable to do it.
Here is a codesandbox https://codesandbox.io/s/blissful-edison-p6gch?file=/src/App.js.
This is from virtualized row example. I have added some scrollbar styles then I am trying to add a margin right to
header
div but it is also applying to therows
div.Beta Was this translation helpful? Give feedback.
All reactions