GGC header and caption cell background colors

I''ve been unable to change either the header column descriptions or caption cell background colors for GGC (parent or child). Can they be changed in VS?, or do they need to be changed programmically with an event handler. Thanks

2 Replies

AD Administrator Syncfusion Team July 5, 2005 03:21 PM UTC

Hi, this code will work: this.groupingGrid1.Appearance.ColumnHeaderCell.Themed = false; this.groupingGrid1.Appearance.ColumnHeaderCell.BackColor = Color.Wheat; this.groupingGrid1.Appearance.GroupCaptionCell.Themed = false; this.groupingGrid1.Appearance.GroupCaptionCell.BackColor = Color.Wheat; Key is to turn off XP Themes for those cells. Stefan >I''ve been unable to change either the header column descriptions or caption cell background colors for GGC (parent or child). Can they be changed in VS?, or do they need to be changed programmically with an event handler. > >Thanks


JS John Slater July 5, 2005 03:49 PM UTC

Thanks Stefan, Worked perfectly. I even kept your color :-). >Hi, > >this code will work: > > > this.groupingGrid1.Appearance.ColumnHeaderCell.Themed = false; > this.groupingGrid1.Appearance.ColumnHeaderCell.BackColor = Color.Wheat; > this.groupingGrid1.Appearance.GroupCaptionCell.Themed = false; > this.groupingGrid1.Appearance.GroupCaptionCell.BackColor = Color.Wheat; > > > >Key is to turn off XP Themes for those cells. > >Stefan > >>I''ve been unable to change either the header column descriptions or caption cell background colors for GGC (parent or child). Can they be changed in VS?, or do they need to be changed programmically with an event handler. >> >>Thanks

Loader.
Up arrow icon