I'm trying to set custom columns in GridView that are not available for editors (not visible on the page) but only used to calculate specific column values e.g. column YEAR and MONTH sortable by that field.
I found all existing format types in the source code and "property" is the appropriate one for this case.
When I tried to create ignored auto-calculated field for that purpose (like I used to create for EpiFind custom properties) it doesn't work (it's not pulled to the frontend Dojo code)
[Ignore]
[IncludeInQueryResult]
public int PublishedYear => this.Created.Year;
Do you have any recommendations for this use case?
I'm trying to set custom columns in GridView that are not available for editors (not visible on the page) but only used to calculate specific column values e.g. column YEAR and MONTH sortable by that field.
I found all existing format types in the source code and "property" is the appropriate one for this case.
.WithColumn("year", displayName: "Year", formaterType: "property", propertyName: "publishedYear", className: ColumnSizeCss.ColumnSize210)
When I tried to create ignored auto-calculated field for that purpose (like I used to create for EpiFind custom properties) it doesn't work (it's not pulled to the frontend Dojo code)
Do you have any recommendations for this use case?