|
|
@ -9,9 +9,9 @@ public partial class Grid<DataType> : ComponentBase
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
[Parameter]
|
|
|
|
[Parameter]
|
|
|
|
public ObservableCollection<DataType>? Items { get; set; }
|
|
|
|
public ObservableCollection<DataType>? Items { get; set; } = new();
|
|
|
|
|
|
|
|
|
|
|
|
private List<DataType>? ItemsToShow { get; set; }
|
|
|
|
private List<DataType>? ItemsToShow { get; set; } = new();
|
|
|
|
|
|
|
|
|
|
|
|
[Parameter]
|
|
|
|
[Parameter]
|
|
|
|
public RenderFragment<DataType>? RowTemplate { get; set; }
|
|
|
|
public RenderFragment<DataType>? RowTemplate { get; set; }
|
|
|
|