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

RadzenDataGridHeaderCell to handle nullable types in ApplyFilter #1834

Merged

Conversation

kerajel
Copy link
Contributor

@kerajel kerajel commented Dec 4, 2024

Convert.ChangeType is designed to work with non-nullable value types and will return null when trying to convert an empty string or a null value to a nullable type, which leads to a InvalidCastException if not handled correctly.

@kerajel kerajel marked this pull request as ready for review December 4, 2024 00:35
@enchev enchev merged commit 4311b01 into radzenhq:master Dec 4, 2024
@kerajel kerajel deleted the kerajel/handle-nullable-types-in-header-cell branch December 11, 2024 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants