BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
'To merge the cells
Me.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.MergeCell =GridMergeCellDirection.Both
'To restric for particular column
Me.gridGroupingControl1.TableDescriptor.Columns("ItemName").Appearance.AnyRecordFieldCell.MergeCell = GridMergeCellDirection.None
Me.gridGroupingControl1.TableDescriptor.Columns("Item").Appearance.AnyRecordFieldCell.MergeCell =GridMergeCellDirection.None
Me.gridGroupingControl1.TableModel.Options.MergeCellsMode =GridMergeCellsMode.OnDemandCalculation Or GridMergeCellsMode.MergeRowsInColumn
Me.gridGroupingControl1.TableModel.Options.MergeCellsLayout = GridMergeCellsLayout.Grid
'To align the cellvalue of merged cells at center
Me.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.VerticalAlignment =GridVerticalAlignment.Middle
|
'To merge the cells of a particular column
Me.gridGroupingControl1.TableDescriptor.Columns("Name").Appearance.AnyRecordFieldCell.MergeCell = GridMergeCellDirection.Both
|