We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Background colour of plus minus cell

Hi

I'm trying to set the background colour of the plus minus cell in a GridGroupingControl
(v6.3.0.6)

I've tried the following but neither work:

m_ggc.BackColor = Color.Blue;
m_ggc.TableDescriptor.Appearance.RecordPlusMinusCell.BackColor = Color.Blue;

Any ideas why this should not work.

Thanks
Steve




4 Replies

JJ Jisha Joy Syncfusion Team September 24, 2008 07:30 AM UTC

Hi Steve,

Thank you for posting query to us.

Please try the following code snippets and let me know if this helps.


this.gridGroupingControl1.TableDescriptor.Appearance.RecordPlusMinusCell.Themed = false;
this.gridGroupingControl1.TableDescriptor.Appearance.RecordPlusMinusCell.BackColor = Color.Brown;

Regards,
Jisha



AD Administrator Syncfusion Team September 24, 2008 08:17 AM UTC

Hi Jisha

Sorry, but your suggestion did not make any difference. Even setting the background colour of the grid grouping control does not make a difference. Maybe the PlusMinus background is in fact part of the icon and so cannot be changed.

Thanks
Stephen



JJ Jisha Joy Syncfusion Team September 25, 2008 09:35 AM UTC

Hi Stephen,



Please refer the sample in the link to show how to change the backcolor of RecordPlusMinusCell:
http://websamples.syncfusion.com/samples/Grid.Windows/Grid_WF_GGCPlusMinusCell/main.htm


Please try this and let me know if this helps.
Regards,
Jisha





AD Administrator Syncfusion Team September 25, 2008 11:59 AM UTC

Hi Jisha

I've sorted it now. I was changing the RecordPlusMinusCell when I should have been changing the GroupCaptionPlusMinusCell.

Thanks for your help.
Steve



Loader.
Live Chat Icon For mobile
Up arrow icon