This column causes error when I try to sort or filter. I am not using datagrid "LoadData", so all data is loaded once on initialization and passed to the datagrid component. All sorting and filtering is client side. Weirdly, the error goes away if I change the property name in RdtoLocation from Parent to something else.
This is the error message I get in the browser:
crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: No 'parent' is in scope
No 'parent' is in scope (at index 0)
Worth mentioning that some entries in the column may be null or empty strings.
@enchev Sorry for the late reply. I have attached a demo. It is a Blazor hosted project in a zip. You can login with a@b.c and password Abcd@1234 or you can register a new dummy user.
The Location entity is self-referencing / hierarchical. I cannot sort or filter using the field named "Parent" but the same server-side field, if mapped to a DTO field called "NotNamedParent" works okay.
Debugging customers projects is part of our paid services - you can check our pricing page for reference. If you want to receive quick help you might need to provide a simplified version of your code (a self contained code snippet with just the DataGrid) that can be executed easily. Other possibility is to attach the source code of Radzen.Blazor to your project to debug your entire application.
Hey @enchev if you paste this code in the DataGrid Self Referencing Hierarchy demo on your website, you can easily reproduce the bug. Trying to sort the column with property "Parent" and title "Sort Me" leads to the error.