title: WPF DataGrid - CellEditEnding event update data
body: <p>I am struggling with the DataGrid in WPF. I have a ObservableCollection bound to it. When the user enters the first cell, the other cells will update accordingly. To achieve that, I subscribed to the CellEditEnding event to force the update after the first cell has been changed.</p>
  
  <p>In this event, I also update other properties of MyClass like this:</p>
  
  <pre><code>    private void DataGridTeilnehmer_CellEditEnding(object sender, DataGridCellEditEndingEventArgs e)
      {
          if (!commiting)
          {
            commiting = true;
              DataGridTeilnehmer.CommitEdit(DataGridEditingUnit.Row, false);
              commiting = false;
  
              if (e.Column.DisplayIndex == 0)
              {
                  MyClass data = (e.Column.GetCellContent(e.Row) as ContentPresenter).Content as MyClass;
                  data.pass = "nothing";
              }
          }
  </code></pre>
  
  <p>The problem is, that the Grid doesn't update itself so "nothing" is not be showed, until I enter edit-mode of the cell that is bound to the property "pass" which contains "nothing". But I would like to show it immediately.</p>
  
  <p>Thanks in advance,<br>
  Frank</p>
  
  <p>PS: I have worked with many (Data)Grids in my life, but the WPF Grid is the worst I encountered so far.</p>