-
Notifications
You must be signed in to change notification settings - Fork 107
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
Filter cannot handle null values when using JObject #319
Comments
Can you show the |
Here is my whole page:
I create a new WASM blazor project. Replace the index page with the test code for JObject and set row2["Column2"] = null; as shown above. |
I had a look at this.. don't know how you got the filters to work when the actual column field would result in a Field="@(x => x.Property("Column2").Value.Value<int>())" The value |
I am using the JObject demo page.
I am setting one of the JObject number to null, column 2 in example below:
var row3 = new JObject();
row3["Column1"] = "A";
row3["Column2"] = null;
row3["Column3"] = new JObject();
row3["Column3"]["Name"] = "C";
data.Add(row3);
When I filter on column 2 then I get a exception saying I cannot convert null to double.
The text was updated successfully, but these errors were encountered: