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

change group caption plus minus ''s color


Hi,

Is that Plus/Minus image ?

How can we replace the image Plus/Minus sign with another ? or change the color of such sign ? we want to change it as other color.


David

1 Reply

RP Rekha P Syncfusion Team July 9, 2009 07:25 AM UTC

Hi David,

Thank you for using Syncfusion Products.

You can replace the default Group Expand and Collapse images by specifying new images to GroupExpandImage and GroupCollapseImage properties. Please refer any one of the code snippet from below.

[ASPX]



[C#]

protected void Page_Load(object sender, EventArgs e)
{
this.GridGroupingControl1.TableDescriptor.GroupCollapseImage = "images\\plus.gif";
this.GridGroupingControl1.TableDescriptor.GroupExpandImage = "images\\minus.gif";
}


Refer a simple sample to illustrate this.
http://files.syncfusion.com/support/GGC.Web/7.2.0.37/F86388/main.htm

Thanks,
Rekha

Loader.
Live Chat Icon For mobile
Up arrow icon