Dropdowns show same data for each row for selected value. When a selection is made randomly the value get updated correctly for index selected to selected value and expanding dropdown again shows selected values. They were implement in two different ways.
- In a grid, under Columns property (column with dropdown filter), FilterTemplate was set
<RadzenDropDown Style="width:100%" Change=OnChange bind-Value="Globals.sInstanceForSystemTabs" Data="((List<Wmdsui.Models.SystemTypes.SystemInstance>)Globals.resultInstanceList)" TItem="Wmdsui.Models.SystemTypes.SystemInstance" >
<Template Context="SystemInstance">
<div>Globals.sInstanceForSystemTabs.SystemInstanceName</div>
</Template>
</RadzenDropDown>
</FilterTemplate>
</RadzenGridColumn>
- Using Drag and Drop component from Tool
TemplateProperty was set to Globals.sInstance.SystemInstanceName
and code produced was this
<RadzenDropDown AllowFiltering="true" Data="(Globals.sInstanceList)" style="height: 27px; margin-left: 20px; margin-top: 40px" Name="Dropdown1" LoadData="Dropdown1LoadData" TValue="Wmdsui.Models.SystemTypes.SystemInstance" bind-Value="(Globals.sInstance)">
<Template Context="data">
Globals.sInstance.SystemInstanceName
</Template>
</RadzenDropDown>