How to handle row selected changed event for a table using Blazor? I tried handling @onchange as well as @onselectionchange. The syntax for the table looks like this:
You can use Onclick in the row:
@foreach (var item in Forecasts) { DoSomething(item))"> @item.Date @item.TemperatureC @item.TemperatureF @item.Summary }
and create a Dosomething to receive the item