<DataGrid ItemsSource="{Binding}" DataContext="{Binding Spacecrafts}" AutoGenerateColumns="False"
Grid.Row="8" Grid.Column="1" Margin="5">
<DataGrid.Columns>
<DataGridTextColumn Binding="{Binding name}" Header="Name" Width="3*"/>
<DataGridTemplateColumn Header="Manufacturer">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<ComboBox SelectedValuePath="id" DisplayMemberPath="name" SelectedValue="{Binding manufacturer_id, UpdateSourceTrigger=PropertyChanged}"
ItemsSource="{Binding DataContext.Manufacturers, RelativeSource={RelativeSource AncestorType={x:Type Window}}}" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
</DataGrid.Columns>
</DataGrid>