This is a migrated thread and some comments may be shown as answers.
Custom Sorting and Filtering
1 Answer 139 Views
This is a migrated thread and some comments may be shown as answers.
Marco
Top achievements
Rank 1
Veteran
Marco asked on 05 Feb 2020, 12:50 PM

I Display without issues complex types in the grid control, the ToString method is used to display the row value for that column and it's fine.

However I can't figure out how to customize sorting and filtering, is there a way to provide a method to compare, sort, and filter columns with complex types?

1 Answer, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 05 Feb 2020, 03:11 PM

Hello Marco,

You can use the OnRead event to get the grid state, loop through it and implement the operations: https://docs.telerik.com/blazor-ui/components/grid/manual-operations

You can also Follow this page on getting built-in support for nested models: https://feedback.telerik.com/blazor/1432615-support-for-nested-complex-models

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
Tags
Grid
Asked by
Marco
Top achievements
Rank 1
Veteran
Answers by
Marin Bratanov
Telerik team
Share this question
or