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

  • Observable-data.razor
  • WeatherService.cs
  • WeatherDto.cs
Loading the demo source code...please wait.

Style in ThemeBuilder

  • Custom SASS variables
  • Atomic customizations
  • Sharing projects
Start Theming

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.

This Data Grid Observable Data example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.

Support & Learning Resources

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