-
Notifications
You must be signed in to change notification settings - Fork 461
Closed
Labels
bugA bugA bugclosed:doneWork is finishedWork is finishedcommunity:noteworthyAn issue or PR of particular interest to the community or planned for an announcement.An issue or PR of particular interest to the community or planned for an announcement.
Milestone
Description
🐛 Bug Report
When I try to render a table using the display mode Table, the table doesn't render correctly.
💻 Repro or Code Sample
<FluentDataGrid TGridItem="Test" Items="testList.AsQueryable()" GenerateHeader="GenerateHeaderOption.Sticky">
<TemplateColumn Sortable="true" Title="First Column Header" Align="Align.Center" Width="200px" >
@context.a
</TemplateColumn>
<TemplateColumn Sortable="true" Title="Second Column Header" Align="Align.Center" Width="200px">
@context.b
</TemplateColumn>
<TemplateColumn Sortable="true" Title="Third Column Header" Align="Align.Center" Width="200px">
@context.c
</TemplateColumn>
</FluentDataGrid>
@code{
class Test
{
public string a = "a";
public string b = "b";
public string c = "c";
}
private List<Test> testList = new()
{
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
};
}
🤔 Expected Behavior
Should still have the structure of a table
😯 Current Behavior
The headers are stacked on top of each other and the columns are squished together
🔦 Context
I am having the problem where if I have a lot of columns and scroll horizontally then vertically, the table (using virtualization) wont render the rows.
I was testing with a small example since I saw using the Table DisplayMode should fix this.
In my own personal example, I wasn't using fr units for the columns.
🌍 Your Environment
Windows
Edge
.Net 8.0.404, Fluent UI 4.11.1
Metadata
Metadata
Assignees
Labels
bugA bugA bugclosed:doneWork is finishedWork is finishedcommunity:noteworthyAn issue or PR of particular interest to the community or planned for an announcement.An issue or PR of particular interest to the community or planned for an announcement.
