To make the GroupCaption row looks like other rows in the Grid the GroupCaptionCell property which is inside the Appearance of GridGroupingControl has to be accessed and set with different, different values. Please refer the below code snippet which illustrates this: C# this.GridGroupingControl1.Appearance.GroupCaptionCell.BackColor = this.GridGroupingControl1.Appearance.RecordFieldCell.BackColor; this.GridGroupingControl1.Appearance.GroupCaptionCell.Borders.Top = new GridBorder(GridBorderStyle.Standard); this.GridGroupingControl1.Appearance.GroupCaptionCell.CellType = "Static"; this.GridGroupingControl1.TableOptions.CaptionRowHeight = this.GridGroupingControl1.TableOptions.RecordRowHeight; VB Me.GridGroupingControl1.Appearance.GroupCaptionCell.BackColor = Me.GridGroupingControl1.Appearance.RecordFieldCell.BackColor Me.GridGroupingControl1.Appearance.GroupCaptionCell.Borders.Top = New GridBorder(GridBorderStyle.Standard) Me.GridGroupingControl1.Appearance.GroupCaptionCell.CellType = "Static" Me.GridGroupingControl1.TableOptions.CaptionRowHeight = Me.GridGroupingControl1.TableOptions.RecordRowHeight Sample: http://help.syncfusion.com/support/samples/kb/Grid.Web/6.1.0.34/GGCaptionRow/CaptionRow.zip |
This page will automatically be redirected to the sign-in page in 10 seconds.