Skip to content

Commit

Permalink
Cleanup IssueTester
Browse files Browse the repository at this point in the history
  • Loading branch information
vnbaaij committed Jan 14, 2025
1 parent 0e217cd commit 90623cb
Showing 1 changed file with 1 addition and 64 deletions.
65 changes: 1 addition & 64 deletions examples/Demo/Shared/Pages/Lab/IssueTester.razor
Original file line number Diff line number Diff line change
@@ -1,64 +1 @@
@page "/test"

<style>
.column-header {
border-right: 2px solid;
}
</style>


<div style="height: 200px; overflow-y: scroll;">
<FluentDataGrid DisplayMode="DataGridDisplayMode.Table" TGridItem="Testt" 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>
</div>


@code {
class Testt
{
public string a = "a";
public string b = "b";
public string c = "c";
}

private List<Testt> testList = new()
{
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
new(),
};
}


0 comments on commit 90623cb

Please sign in to comment.