This question is locked. New answers and comments are not allowed.
Hi, i am having problems with RadDataGrid.
Items is a ObservableCollection, and each item in the collection has a BitTypeList, which is a List that implements the IList interface.
[DataMember]
public virtual IList<BitTypeEntity> BitTypeList { get; set; }
I Can update items, but i can not delete nor insert items, even though the addnewitem line is visible, nothing happens when i press it. Any ideas what the problem is? If you need more code, let me know.
<Controls:RadComboBox x:Name="mainComboBox" SelectedIndex="0" Width="150" ItemsSource="{Binding Items, Mode=TwoWay}" DropDownClosed="mainComboBox_DropDownClosed" />
</StackPanel>
</StackPanel>
<telerikGrid:RadGridView x:Name="itemsGrid" Grid.Row="1" AutoGenerateColumns="False" SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
CanUserInsertRows="True" ShowInsertRow="True" CanUserDeleteRows="True" ItemsSource="{Binding ElementName=mainComboBox, Path=SelectedItem.BitTypeList, Mode=TwoWay}" />
Items is a ObservableCollection, and each item in the collection has a BitTypeList, which is a List that implements the IList interface.
[DataMember]
public virtual IList<BitTypeEntity> BitTypeList { get; set; }
I Can update items, but i can not delete nor insert items, even though the addnewitem line is visible, nothing happens when i press it. Any ideas what the problem is? If you need more code, let me know.
<Controls:RadComboBox x:Name="mainComboBox" SelectedIndex="0" Width="150" ItemsSource="{Binding Items, Mode=TwoWay}" DropDownClosed="mainComboBox_DropDownClosed" />
</StackPanel>
</StackPanel>
<telerikGrid:RadGridView x:Name="itemsGrid" Grid.Row="1" AutoGenerateColumns="False" SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
CanUserInsertRows="True" ShowInsertRow="True" CanUserDeleteRows="True" ItemsSource="{Binding ElementName=mainComboBox, Path=SelectedItem.BitTypeList, Mode=TwoWay}" />