HA
haneefm
Syncfusion Team
May 1, 2007 05:30 PM UTC
Hi Shek,
Try setting the Themed property of GroupCaptionCell to false. Here is a code snippet.
gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.Themed = false;
gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.Borders.All = GridBorder.Empty;
gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellAppearance = GridCellAppearance.Flat;
gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.BackColor = Color.LightGray;
gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.Font.Bold = true;
Best regards,
Haneef
AN
Andy
May 1, 2007 07:04 PM UTC
Thanks Haneef. Now the backcolor is being set but the cell appearence is still not flat.
>Hi Shek,
Try setting the Themed property of GroupCaptionCell to false. Here is a code snippet.
gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.Themed = false;
gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.Borders.All = GridBorder.Empty;
gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellAppearance = GridCellAppearance.Flat;
gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.BackColor = Color.LightGray;
gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.Font.Bold = true;
Best regards,
Haneef
HA
haneefm
Syncfusion Team
May 1, 2007 08:51 PM UTC
Hi Shek,
Try setting the GroupCaptionCell's CellType as Static and let me know if this helps.
gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "Static";
Best regards,
Haneef
AN
Andy
May 1, 2007 09:09 PM UTC
Thanks Haneef. Looks fine now.
>Hi Shek,
Try setting the GroupCaptionCell's CellType as Static and let me know if this helps.
gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "Static";
Best regards,
Haneef