public ObservableCollection<ABC_Class> Avldata = new ObservableCollection<ABC_Class>();
Avldata.Add(new GrpClass() { A =1, B = 1, C = 1});
Avldata.Add(new GrpClass() { A =2, B = 2, C = 2});
Avldata.Add(new GrpClass() { A =3, B = 3, C = 3});
((GridViewComboBoxColumn)this.ABC.Columns["B"]).ItemsSource = GetOptions();
this.ABC.ItemsSource = Avldata.ToList();
<telerik:RadGridView Name="ABC"
AutoGenerateColumns="True" Grid.ColumnSpan="4" Grid.RowSpan="3"
ShowGroupPanel="False" EnableRowVirtualization="True" EnableColumnVirtualization="True" RowIndicatorVisibility="Collapsed" Margin="10,0,0,6" CellValidating="CellValidating" AddingNewDataItem="AddingNewDataItem" RowEditEnded="RowEditEnded" DataLoaded="Dataload" KeyDown="KeyDown" CellEditEnded="CellEditEnded" RenderTransformOrigin="0.5,0.5" Grid.Row="2" BeginningEdit="BeginningEdit" RowLoaded="RowLoaded" VerticalAlignment="Top" CanUserResizeColumns="False" CanUserReorderColumns="False" CanUserSortColumns="False" CanUserSortGroups="False" ColumnWidth="80" KeyboardNavigation.AcceptsReturn="True" MaxColumnWidth="150" MinColumnWidth="80" CanUserFreezeColumns="False" ContextMenuService.IsEnabled="False" IsFilteringAllowed="False" EnableLostFocusSelectedState="False" IsLocalizationLanguageRespected="False">
<telerik:RadGridView.Columns>
<telerik:GridViewComboBoxColumn UniqueName="B" DisplayMemberPath="Name" SelectedValueMemberPath="ID" DataMemberBinding="{Binding Option}" />
</telerik:RadGridView.Columns>
</telerik:RadGridView> I am trying to show combo box in Column "B" edit mode so user can select value from combo.but combo box appearing in column index "0".how to fix the problem .thanks
Avldata.Add(new GrpClass() { A =1, B = 1, C = 1});
Avldata.Add(new GrpClass() { A =2, B = 2, C = 2});
Avldata.Add(new GrpClass() { A =3, B = 3, C = 3});
((GridViewComboBoxColumn)this.ABC.Columns["B"]).ItemsSource = GetOptions();
this.ABC.ItemsSource = Avldata.ToList();
<telerik:RadGridView Name="ABC"
AutoGenerateColumns="True" Grid.ColumnSpan="4" Grid.RowSpan="3"
ShowGroupPanel="False" EnableRowVirtualization="True" EnableColumnVirtualization="True" RowIndicatorVisibility="Collapsed" Margin="10,0,0,6" CellValidating="CellValidating" AddingNewDataItem="AddingNewDataItem" RowEditEnded="RowEditEnded" DataLoaded="Dataload" KeyDown="KeyDown" CellEditEnded="CellEditEnded" RenderTransformOrigin="0.5,0.5" Grid.Row="2" BeginningEdit="BeginningEdit" RowLoaded="RowLoaded" VerticalAlignment="Top" CanUserResizeColumns="False" CanUserReorderColumns="False" CanUserSortColumns="False" CanUserSortGroups="False" ColumnWidth="80" KeyboardNavigation.AcceptsReturn="True" MaxColumnWidth="150" MinColumnWidth="80" CanUserFreezeColumns="False" ContextMenuService.IsEnabled="False" IsFilteringAllowed="False" EnableLostFocusSelectedState="False" IsLocalizationLanguageRespected="False">
<telerik:RadGridView.Columns>
<telerik:GridViewComboBoxColumn UniqueName="B" DisplayMemberPath="Name" SelectedValueMemberPath="ID" DataMemberBinding="{Binding Option}" />
</telerik:RadGridView.Columns>
</telerik:RadGridView> I am trying to show combo box in Column "B" edit mode so user can select value from combo.but combo box appearing in column index "0".how to fix the problem .thanks