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
DhivyaBharathi-SF3890 opened this issue Mar 18, 2024 · 2 comments
Open

Exception in DataGrid with runtime type #9458

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

Comments

@DhivyaBharathi-SF3890
Copy link

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.

@DhivyaBharathi-SF3890 DhivyaBharathi-SF3890 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
@DhivyaBharathi-SF3890
Copy link
Author

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.

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