Setting Header row height on a datagrid with virtualize #4350
michael-b-tt0
started this conversation in
Ideas
Replies: 1 comment
-
|
It would mean we need to add yet another parameter to the DataGrid. It is already a huge component and adding this adds to the load of keeping it testable and maintainable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There currently does not seem to be a way to set your header row height apart from the rest of your table when virtualize is enabled as the ItemSize parameter seems to set a universal row height. I can hack it with something like:
tr.fluent-data-grid-row[row-type="sticky-header"] { height: 36px !important; min-height: 36px !important; max-height: 36px !important; }tr.fluent-data-grid-row[row-type="sticky-header"] > th { height: 36px !important; line-height: 36px !important; }to target the specific element but it would be nice to be able to set this directly just for the header when virtualize is enabled.
Beta Was this translation helpful? Give feedback.
All reactions