Open KiruyaMomochi opened 2 years ago
Hello KiruyaMomochi, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌
Describe the bug
I'm using a grouped collection as source of
DataGrid
and inserted a new group of data into the collection. When I added new data to this new group, these data didn't show up inDataGrid
.Regression
No response
Reproducible in sample app?
Steps to reproduce
Create XAML file
GroupedDataGridPage.xaml
XAML file
```xmlCreate code behind
GroupedDataGridPage.xaml.cs
Code behind XAML
```csharp using System.Collections.ObjectModel; using CommunityToolkit.WinUI.UI.Controls; using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; namespace Kyaru.Views; public class GroupInfoCollectionAddBefore
, a new group is created. DataGrid says(2 items)
, but shows nothing.AddAfter
, another new group is created. DataGrid says(0 items)
, but shows 2 items.Expected behavior
Both
AddBefore
andAddAfter
should gives a group that says(2 items)
and show 2 items in it.Screenshots
Windows Build Number
Other Windows Build number
Windows 11 Insider Preview (Build 25131)
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
No response
Visual Studio Build Number
N/A (Using
dotnet run
, with patch from dotnet/maui)Device form factor
No response
Nuget packages
Additional context
No response
Help us help you
Yes, but only if others can assist.