Just found out there is a new grid
component for Blazor
; nevertheless, when I tried to use it on my Razor
page, the markups were not recognized. Should I install additional packages
from nuget or? Where exactly is it?
<div class = "InventoryGrid">
<Grid Items="@forecasts" ItemSize="35" Virtualize="true">
<PropertyColumn Title="Date" Property="@(x=>x.Date)" />"
</Grid>
</div>
CodePudding user response:
The Grid component you are referring to is project code in Steve Sanderson's BlazeOrbital presentation solution. You can find it here.
It's not part of Blazor in Net6.
CodePudding user response:
I very strongly recommend making your own <ArieGrid>
component that takes in table data as a Parameter
. In <ArieGrid>
, for each row of data, you have an <ArieGridRow>
component that takes a row of data. In <ArieGridRow>
, for each data cell, you have an <ArieGridCell>
component that takes in a single data item.
It seems to me that doing this yourself would likely be faster than trying to figure out how somebody else's component works.