Hi. Sorry for the delay in replying.
I whipped up a quick sample, starting from the default server-side Blazor app:
- Replaced the index page with the DataGrid getting started example
- Enabled Excel-type filters
- Added an "AgeInMinutes" calculated field and column - the undelying type is int
- Defined a Column template that uses special formatting for the AgeInMinutes column.
==> The column displays as defined by the template, but when opening the filter dialog, the pick list of items shows the underlying values, not the formatted values.
Is there a way for the filter to display the formatted values?
Attachment:
ColumnTemplateSample_6311ec33.zip