Hello,
I'm having the List of <Model> which is populated by call to database:
private List<OrdersModel> orders;
protected override async Task OnInitializedAsync()
{
orders = await _db.GetOrders();
}
How do I fill Grid with orders info?
This is how my Model looks like:
public class OrdersModel
{
public string OrdNo { get; set; }
public string OrdStatus { get; set; }
}
Please advise.