ADAdministrator Syncfusion Team October 31, 2003 02:48 AM
MergeCells in Essential Grid refers to drawing adjacent cells as one cell IF all the adjacent cells hold the same value.
If you want to have long text from one cell float over adjacent cells, this is referred to as floatingcells.
To allow cells to float, you need to set the grid.FloatingCellsMode property and the adjacent cells must be empty. You cannot float over an occupied cell. Here are some snippets.
this.gridControl1.FloatCellsMode = GridFloatCellsMode.OnDemandCalculation;
GridStyleInfo style = this.gridControl1[2,1];
style.Text = "this is some long text that should float over adjacent cells";
There are style properties that you can use to turn off floating support at the style level (style.FloatCell = false). You can also use style.FloodCell to prevent a cell from being flooded.