CheckBox list (Excel like) Filter Error

What causes this? I do not see a null value in my RadzenDataGrid data and since this a new component I am not seeing to many examples of what could cause this. Thanks!

Check our forum FAQ on how to improve your post. Screenshot of an exception doesn't help much.

We cannot compile and run this code. You can use our demos (they are editable) to demonstrate your scenario.

We've identified the issue: some of our DataGrid column properties didn't match the case syntax of the corresponding class model properties.

For example, if your model defines an email address like this:

public string EmailAddress { get; set; }

And you set the DataGrid column property as follows:

<RadzenDataGridColumn TItem="PB_users" Title="Email" Property="emailAddress"></RadzenDataGridColumn>

It will trigger an exception in the console and break all checkbox list (Excel-like) filters in the DOM console, as shown earlier.

After correcting the RadzenDataGridColumn property to match the case of our model, everything started working correctly.

Although the data model names case syntax were not Identical to what we set the data grid column properties to use, it renders the data just fine, however once you add FilterMode="FilterMode.CheckBoxList" to the data grid, that apparently changes the behavior when the checkbox list (Excel-like) filters are initialized and interacted with as they seem to be case sensitive and will break your data grid once a console error is thrown.

We hope this helps someone instead of work arounds.

Perhaps in your Code Example of this new component you could add a small note to help others who want to use this in their apps.

Well, yes we should definitely add that only valid properties should be used.