-
I'm trying to have a table be displayed in a specific area of the screen based on the window dimensions. I'm using I've created a small test to explain it. https://codesandbox.io/s/fixedheader-react-table-library-te7mlh?file=/src/App.tsx When (the blue is the background of the window) and when I think this piece of code in the library's const FULL_HEIGHT_THEME = {
Table: `
height: 100%;
`,
}; Is there any way to override this somehow? Or a way to create the fixed header without using the library feature? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I fixed it following issue #102 and adding height and max-height to the table CSS theme: Table: `
--data-table-library_grid-template-columns: 300px 150px 40px;
height: auto;
max-height: 100%;
`, |
Beta Was this translation helpful? Give feedback.
I fixed it following issue #102 and adding height and max-height to the table CSS theme: