RadzenDataGrid SortProperty that is not part of Data

Hi,

I have the following datagrid column

<RadzenDataGridColumn SortProperty="" TItem="Result">
    <HeaderTemplate>@foo</HeaderTemplate>
    <Template>
        <span>
            @(_units.First(unit => unit.ID == context.ID).UnitName)
        </span>
    </Template>
</RadzenDataGridColumn>

As you can see, UnitName is not part of Result.

Is it possible to sort by the UnitName anyway. Of course, I could add it to “Result”, but as the name already says “unitName” is technically not a result and I do not want to add also e. g. the unit width to Result, just because I want to show it in the grid and be able to sort by it.

Many thanks.

Philipp

No. You might want to check out dynamic data binding demo.

OK, thanks for the information.