I'm using the combobox in this example inside a grid as a celledittemplate:
<telerik:GridViewDataColumn Header="ŮŽArticle Description" Width="100"><telerik:GridViewDataColumn.CellTemplate><DataTemplate><TextBlock Text="{Binding DataContext.AccDocumentItem.Description1, RelativeSource={RelativeSource AncestorType={x:Type telerik:RadGridView}}}"/></DataTemplate></telerik:GridViewDataColumn.CellTemplate><telerik:GridViewDataColumn.CellEditTemplate><DataTemplate><telerik:RadComboBox IsEditable="True" DisplayMemberPath="SLStandardDescriptionTitle"ItemsSource="{Binding DataContext.AccDocumentItem.SelectedSL.SLStandardDescriptions, RelativeSource={RelativeSource AncestorType={x:Type telerik:RadGridView}}}"Text="{Binding DataContext.AccDocumentItem.Description1,Mode=TwoWay,RelativeSource={RelativeSource AncestorType={x:Type telerik:RadGridView}}}"><i:Interaction.Triggers><i:EventTrigger EventName="DropDownOpened"><i:InvokeCommandAction Command="{Binding DataContext.SLStandardDescriptionsDropDownOpenedCommand, RelativeSource={RelativeSource AncestorType={x:Type telerik:RadGridView}}}" CommandParameter="DLType2"/></i:EventTrigger></i:Interaction.Triggers></telerik:RadComboBox></DataTemplate></telerik:GridViewDataColumn.CellEditTemplate> </telerik:GridViewDataColumn>
I need to present a grid where one column is a combobox. The user can select one value from the list or enter a new value, the problem is that selected row is repeated in all rows. Can you please tell me what I'm doing wrong?
Your time much appreciated!