FluentDataGrid(v4.11): header style of min-height is fixed to 44px, can not change #3493
sou-fujifilm
started this conversation in
General
Replies: 1 comment
-
As said in the issue, this is needed for being able to present the interactive parts of the header. Think of sorting button, column option button, etc |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
in v4.11, FluentDataGrid's header cell style of min-height is fixed to 44px,
Is there any way to change the style? I want to make a small header.
--
in FluentDataGridCell.razor.cs, there has a line
.AddStyle("min-height", "44px", Owner.RowType != DataGridRowType.Default)
It make all header cells like this:
<th col-index="1" class="column-header col-justify-start" style="grid-column: 1; height: 32px; min-height: 44px; z-index: 5;" __internal_preventdefault_oncontextmenu="" scope="col" aria-sort="none" b-w6qdxfylwy=""> Title </th>
Beta Was this translation helpful? Give feedback.
All reactions