I have the following Radzen Data Grid. Which binds to a model class named PortfolioWrapper
public class PortfolioWrapper
{
public AccountClass myAccount{ get; set; }
}
The AccountClass is defined as
public class AccountClass
{
public string CodeType { get; set; }
}
This is how the Grid is coded
<RadzenDataGrid TItem="PortfolioWrapper"
Data="@portfolioWrappers"
AllowPaging="true"
PageSize="20"
AllowSorting="true"
AllowFiltering="true"
AllowColumnResize="true"
Count="@assetProxyCount"
FilterMode="FilterMode.Simple"
IsLoading="isLoading"
FilterCaseSensitivity="FilterCaseSensitivity.CaseInsensitive">
<Columns>
<RadzenDataGridColumn TItem="PortfolioWrapper" Property="AccountClass.CodeType " Title="Id" />
</Columns>
</RadzenDataGrid>
But instead of displaying the CodeType
value , the grid displays the following