Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Referring to this example: https://blazor.syncfusion.com/demos/datagrid/observable-binding

When extending the ObservableCollection and using a function like so:

public void AddRange(IEnumerable<T> items)
{
    foreach (var item in items)
    {
        Items.Add(item);
    }

    OnPropertyChanged(new PropertyChangedEventArgs("Count"));
    OnPropertyChanged(new PropertyChangedEventArgs("Item[]"));
    OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, items));
}


The grid properly recognizes that the new records were added, but the INotifyPropertyChanged functionality no longer works. It's still using all of the proper OnPropertyChanged and OnCollectionChanged events which I'm assuming the grid is listening to.