title: How to make one column editable in a readonly datagrid?
body: <p>How to make one column editable in a readonly datagrid?</p>
  
  <pre><code>&lt;DataGrid x:Name="dgLoadDtl" Height="315" Width="710" Grid.Row="0" 
                    HorizontalAlignment="Left" VerticalAlignment="Bottom"  
                    Style="{DynamicResource StyleDatagrid}" 
                    IsReadOnly="true"&gt;
  
              &lt;DataGrid.Columns&gt;                    
  
                  &lt;DataGridTextColumn Foreground="Black" Width="60" Header="Sctn" Binding="{Binding Sctn, Mode=TwoWay}" IsReadOnly="false" /&gt;                    
                  &lt;DataGridTextColumn Foreground="Black" Width="140" Header="CustName"  Binding="{Binding CustName, Mode=TwoWay}" /&gt;
                  &lt;DataGridTextColumn Foreground="Black" Width="140" Header="Address"  Binding="{Binding Address1, Mode=TwoWay}" /&gt;
                  &lt;DataGridTextColumn Foreground="Black" Width="50" Header="Bulk   or Bag"  Binding="{Binding BulkorBag, Mode=TwoWay}" /&gt;
                  &lt;DataGridTextColumn Foreground="Black" Width="80" Header="ProdCode" Binding="{Binding ProdCode, Mode=TwoWay}" /&gt;
                  &lt;DataGridTextColumn Foreground="Black" Width="80" Header="MedCode" Binding="{Binding MedCode, Mode=TwoWay}" /&gt;
  </code></pre>
  
  <p>                </p>