Completed
Last Updated: 15 Mar 2023 11:38 by ADMIN
Release 5.1.0
Teddy
Created on: 09 Jan 2023 13:29
Category: DataGrid
Type: Bug Report
2
DataGrid: Data is not displayed in a custom scenario with Range collection

I have a DataGrid with ItemsSource bound to ObservableRangeCollection,
First I Clear() the existing items of the collection, then add new items, and raises a single CollectionChanged event with action = NotifyCollectionChangedAction.Reset.

the grid continues to show nothing.

This works with .NET MAUI CollectionView and ListView

Workaround: Add a delay after clearing the collection.

0 comments