Hi Richard,
Here is a sample project that shows you "How to merge the cells in a grid and prevent the resizing cursor in a middle of the merged cells?. Please try this and let me know if this helps.
MergeCellsInGrid.zipThe grid actually has two ways to make a group of cells display as one large cell. The first technique is coverd cells where an explicit group of cells can be made to behave like a single cell. The second technique is merged cells where adjacent cells that hold duplicate values as group together so you only see the value once.
By merging cells, do you mean making a range of cells appear as a single cell. If so, you use the CoveredCells collection in the GridControl or GridDataBoundGrid to do this.
//cover (2,2) thru (4,5)
this.gridControl1.CoveredRanges.Add(GridRangeInfo.Cells(2,2,4,5));
If you want to make adjacent cells that have the same values in them only show the value once, then you need to set one grid property, and then set a style property in the cells that you want to allow to merge.
this.gridControl1.Model.Options.MergeCellsMode = GridMergeCellsMode.OnDemandCalculation|GridMergeCellsMode.MergeRowsInColumn;
this.gridControl1.ColStyles[2].MergeCell = GridMergeCellDirection.RowsInColumn;
Best regards,
Haneef