I''ve looked at the example code in this KB article (link at end) but could not replicate it in my project. Specifically, the KB article uses:
this.gridGroupingControl1.BaseStylesMap["GroupIndent"].StyleInfo.BackColor = Color.LightGoldenrodYellow;
I found that I only had a BaseStyles collection accessible from my GroupingControl object (as opposed to a BaseStylesMap in the example). That aside, my BaseStyles collection was empty, and I don''t know how to populate it such that I can change the presentation of the parts of the grid given in the KB article. Any suggestions?
Thanks in advance.
ADAdministrator Syncfusion Team July 1, 2004 03:31 PM
Oops. That is a dated KB with code for an early beta version of this control. We will get this corrected.
You use the TableDescriptor.Appearance object to set such properties. For example, to set record''s BackColor.
this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.BackColor = Color.LightSkyBlue;
This is discussed in the GridGroupingControl Designer Tutorial in the grid''s User''s Guide.