New to Telerik UI for Blazor? Download Free 30-day trial

Grid - Observable Data

Configurator

Add a forecast to the Grid

Remove a forecast from the Grid

Sweltering435/11/2021 12:00:00 AM
Cool465/15/2021 12:00:00 AM
Balmy235/5/2021 12:00:00 AM
Hot285/14/2021 12:00:00 AM
Bracing-105/1/2021 12:00:00 AM
  • Observable-data.razor
  • WeatherForecastService.cs
  • WeatherForecast.cs
Loading the demo source code...please wait.

Description

This demo shows the capabilities of the Grid to bind its Data parameter to a collection that implements INotifyCollectionChanged. An example of such data source would be the ObservableCollection. The INotifyCollectionChanged interface provides a CollectionChanged event which fires when changes are applied to the collection. The Grid is aware of this event and will automatically reflect the changes.

An error has occurred. This application may no longer respond until reloaded.
Reload