title: Devexpress GridView Merge Only non-empty cells
body: <p>In my gridview (devexpress) there are some empty cells and some non-empty. When I merge cells, both empty and non-empty cells are merged. </p>
  
  <p>But I want to merge only cells which are not empty. I want empty cells appear as they normally are (unmerged)..
  Thanks.</p>
  
  <pre><code>   private void gridView2_CellMerge(object sender, CellMergeEventArgs e)
      {
          if (e.Column.FieldName == "Aktivite")
          {
              var value1 = gridView2.GetRowCellValue(e.RowHandle1, e.Column).ToString();
              var value2 = gridView2.GetRowCellValue(e.RowHandle2, e.Column).ToString();
  
  
              if (value1 == value2 &amp;&amp; (!String.IsNullOrEmpty(value1) &amp;&amp; !String.IsNullOrEmpty(value2)))
              {
                  e.Merge = true;
                  e.Handled = true;
              }
          }
      }
  </code></pre>