I'm pretty new with Blazor Web assembley and using C# code and i have a question how to create a function that i can turn on and off different rows and change the order, save it. And also while clicking on Date it will show me the current Date i was clicking on, separately in other page.
So, how should i do it?
I tried to make other page and linked it to show only selected date information but it shows all still. What whould i change in code:
private WeatherForecast[]? forecasts;
protected override async Task OnInitializedAsync()
{
forecasts = await Http.GetFromJsonAsync<WeatherForecast[]>("sample-data/weather.json");
}
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public string? Summary { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
}`