I put on my form DropDownDataGrid and when I try to choose from a list of items I have a blank list but if I put simple DropDown it works with the very same data source.
Both controls look like this:
<RadzenDropDownDataGrid Data="@bRKRMForKRMID" TextProperty="OPIS" ValueProperty="KRMID" AllowClear="false" AllowFiltering="true" AllowVirtualization="true"
Density="Density.Compact" Placeholder="Izaberite klasu radnog mesta" style="display: block; width: 100%" @bind-Value="@bRKRMR.KRMID" Name="KRMID1">
<Columns>
<RadzenDataGridColumn Property="KRMID" Title="Krm ID" />
<RadzenDataGridColumn Property="OPIS" Title="Opis" />
</Columns>
</RadzenDropDownDataGrid>
<RadzenDropDown Data="@bRKRMForKRMID" TextProperty="OPIS" ValueProperty="KRMID" AllowClear=false AllowFiltering="true" AllowVirtualization="true"
Placeholder="Izaberite klasu radnog mesta" style="display: block; width: 100%" @bind-Value="@bRKRMR.KRMID" Name="KRMID">
<Template Context="ctx">
@((ctx as Bezra.Models.BEZRA.BRKRM).KRMID) - @((ctx as Bezra.Models.BEZRA.BRKRM).OPIS)
</Template>
</RadzenDropDown>
There is no error during the compiling process nor any error during the execution of components with these two controls. What is wrong with DropDownDataGrid?