Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataGrid does not populate #4616

Closed
canfucius opened this issue Mar 22, 2021 · 3 comments
Closed

DataGrid does not populate #4616

canfucius opened this issue Mar 22, 2021 · 3 comments
Labels
area-DataGrid DataGrid control product-winui3 WinUI 3 issues team-Controls Issue for the Controls team v0.5 Issues introduced in the Project Reunion 0.5 prerelease

Comments

@canfucius
Copy link

canfucius commented Mar 22, 2021

Describe the bug

DataGrid does not populate data

Steps to reproduce the bug

Steps to reproduce the behavior:

  1. Add DataGrid to page.
  2. Bind collection to DataGrid

Expected behavior

DataGrid should show data as it did in Preview 3

Screenshots

DataGridError1
DataGridError2
DataGridError3
DataGridError4
DataGridError5
DataGridError6

Version Info

Microsoft.ProjectReunion.WinUI
Desktop
Windows 10
Desktop

NuGet package version:

Microsoft.ProjectReunion
Microsoft.ProjectReunion.Foundation
Microsoft.ProjectReunion.WinUI
Microsoft.Toolkit
Microsoft.Toolkit.Uwp
Microsoft.Toolkit.Uwp.UI
Microsoft.Toolkit.Uwp.UI.Controls
Microsoft.Toolkit.Uwp.UI.Controls.DataGrid

Windows app type:

UWP Win32
Yes
Windows 10 version Saw the problem?
Insider Build (xxxxx)
October 2020 Update (19042) Yes
May 2020 Update (19041)
November 2019 Update (18363)
May 2019 Update (18362)
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Xbox
Surface Hub
IoT

Additional context
This worked in Preview 3, but has been broken since Preview 4 and now 5.

@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Mar 22, 2021
@StephenLPeters StephenLPeters added area-DataGrid DataGrid control v0.5 Issues introduced in the Project Reunion 0.5 prerelease team-Controls Issue for the Controls team product-winui3 WinUI 3 issues and removed needs-triage Issue needs to be triaged by the area owners labels Mar 22, 2021
@StephenLPeters
Copy link
Contributor

@michael-hawker and @RBrid FYI

@FreddyDgh
Copy link

@canfucius Have you checked if this is related to the "can't load default styles of custom controls" issue (#4414)? More detail and workarounds can be found in that issue and also in CommunityToolkit/WindowsCommunityToolkit#3295.

@canfucius
Copy link
Author

I used the
<ItemGroup> <FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" RuntimeFrameworkVersion="10.0.19041.13" /> <FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" TargetingPackVersion="10.0.19041.13" /> </ItemGroup>

solution and put it both my .csproj files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-DataGrid DataGrid control product-winui3 WinUI 3 issues team-Controls Issue for the Controls team v0.5 Issues introduced in the Project Reunion 0.5 prerelease
Projects
None yet
Development

No branches or pull requests

3 participants