Derived column in a grid

Need some help please on having a column in a grid that is a derived value.

For example, let's say it is age and age is defined as the difference between the current date and a date value in another column in the grid (a value from the database/grid entity)

Thanks for any insight/direction

I knew I had done something similar, found it and found a solution, will leave up here as an example of a template

<RadzenDataGridColumn TItem="RadzenBlazorServerApp.Models.sql_database.Vehicle" Property="" Title="Age">
  <Template Context="vehicle">
    @((vehicle.CurrentReleased?.Day - DateTime.Now.Day) * -1)
1 Like