I have a datagrid which has a combobox in celltemplate
<DataGrid AutoGenerateColumns="False" ItemsSource="{Binding Path=List,Mode=TwoWay}">
<DataGrid.Columns>
<DataGridTextColumn Header="ID" Binding="{Binding Path=ID,Mode=TwoWay}"></DataGridTextColumn>
<DataGridTemplateColumn Header="Names" >
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<ComboBox SelectedItem="{Binding Path=Name,Mode=TwoWay}"
SelectedValuePath="Type"
ItemsSource="{Binding Path=Names,Mode=TwoWay,Source={StaticResource someSource}}"></ComboBox>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
</DataGrid.Columns>
</DataGrid>
in the above code when i change the Name from the combobox in datagrid..the itemssource list should change??How to do that??