Library Blazor Components NextGrid Reference Classes NextGrid Properties ItemsSource

ItemsSource

Specifies an item source (usually a list) to be rendered inside grid.

razor
[Parameter]
public IEnumerable? ItemsSource { get; set; }

Example

razor
<DataGrid T="Product" ItemsSource="Products">
    <GridColumn DataField="Name" />
</DataGrid>

@code {
    public List<Product> Products { get; set; }
}

Sign in