You can customize the default merging behavior in two ways:
By default, the grid will merge adjacent cells that contain the same non-null value. String comparisons are case-sensitive and blanks are included.
If you wanted the grid to merge cells using a case-insensitive comparison and trimming blanks, you could write a custom class that implements IComparer and assign it to the CustomComparer property.
Note: For samples that show how to implement custom merging logic, see the CustomMerge, CustomMerge2, CustomMerge3, and CustomMerge4 samples on GrapeCity website.