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

Exception in DataGrid with runtime type #9458

Open
ghost opened this issue Mar 18, 2024 · 5 comments
Open

Exception in DataGrid with runtime type #9458

ghost opened this issue Mar 18, 2024 · 5 comments
Labels
bug Something isn't working team-Controls Issue for the Controls team

Comments

@ghost
Copy link

ghost commented Mar 18, 2024

Describe the bug

In WINUI we are currently facing an exception when attempting to load the DataGrid component while using runtime-defined types as our data source. The

exception occurs during the loading process of the component using these types.

When debugging the provided sample project, please ensure that all the options under 'Common Language Runtime Exceptions' are enabled.
DataGridException.zip

Steps to reproduce the bug

1.Run the provided sample.

Expected behavior

System.ArgumentNullException (Value cannot be null.) will not occur.

Screenshots

image

NuGet package version

None

Windows version

No response

Additional context

Any suggestions, or guidance on how to address the exception encountered when using runtime-defined types with the DataGrid would be greatly appreciated.

@ghost ghost added the bug Something isn't working label Mar 18, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Mar 18, 2024
@codendone codendone added team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Apr 5, 2024
@ghost
Copy link
Author

ghost commented May 30, 2024

Any updates on this?

@kmgallahan
Copy link
Contributor

WiniUI doesn't have an in-box DataGrid, so you are using a control that is maintained elsewhere. Probably the Windows Community Toolkit.

@ghost
Copy link
Author

ghost commented Jun 20, 2024

We are using the DataGrid control from the Windows Community Toolkit.

@kmgallahan
Copy link
Contributor

@DhivyaBharathi-SF3890 Yes, and that is maintained in the Windows Community Toolkit repo. Issues with that DataGrid should be raised there:

https://github.com/CommunityToolkit/WindowsCommunityToolkit

https://github.com/CommunityToolkit/Windows

@ManiAkash9
Copy link

@kmgallahan - We raised a new issue in WindowsCommunityToolKit
Issue Link - CommunityToolkit/WindowsCommunityToolkit#4995

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

3 participants