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

Error Sorting With ExpandoObject #147

Closed
Jorgo78 opened this issue Jan 13, 2022 · 1 comment
Closed

Error Sorting With ExpandoObject #147

Jorgo78 opened this issue Jan 13, 2022 · 1 comment
Assignees

Comments

@Jorgo78
Copy link

Jorgo78 commented Jan 13, 2022

Good evening,
i can't understand why table sorting doesn't work with expandoobject. I get the error "Failed to compare two elements in the array"

System.ArgumentException: At least one object must implement IComparable

Blazor WebAssembly .net 6

Best Regards

@marin-bratanov marin-bratanov self-assigned this Jan 15, 2022
@marin-bratanov
Copy link
Contributor

Sorting works for me with this sample project https://github.com/telerik/blazor-ui/tree/master/grid/binding-to-expando-object

Another dynamic data structure could be a data table and sorting works there too: https://demos.telerik.com/blazor-ui/grid/data-table

If comparing against these samples does not help you move forward, I recommend opening a support ticket for the concrete situation. The Issues section for this repo is for issues with the examples in it, rather than questions about the functionality of the components. For that, tickets or the forums are a better place: https://docs.telerik.com/blazor-ui/introduction#support-options

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

No branches or pull requests

2 participants