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.
Unfortunately, activation email could not send to your email. Please try again.

Need to remove pluminus symbol

Thread ID:





76287 Aug 29,2008 02:52 PM Sep 1,2008 12:20 AM Windows Forms 1
Tags: Grouping
Ankit Thakkar
Asked On August 29, 2008 02:52 PM


I have populated nested table in my Grid Grouping Control.
I have removed the plus symbol next to it using the below code. But I could see that records are in expaned mode.

GridGroupingControl1.TableDescriptor.TableOptions.ShowRecordPlusMinus = false;

I need to remove the plus symbol and have my records in Collapsed mode so that I can programatically expand it when required.

Can you help on this..


Sri Rajan [Syncfusion]
Replied On September 1, 2008 12:20 AM

Hi Ankit,

Thank you for your interest in Syncfusion products.

You need to handle QueryCellStyleInfo event and set the celltype of the GroupCaptionPlusMinusCell Button as static, to hide the GroupCaptionPlusMinusCell Button. Here is the code which implements this task.

void gridGroupingControl1_QueryCellStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellStyleInfoEventArgs e)
if (e.TableCellIdentity.TableCellType == GridTableCellType.GroupCaptionPlusMinusCell)
e.Style.CellType = "Static";
e.Style.Borders.Bottom = new GridBorder(GridBorderStyle.Dotted, SystemColors.ControlDark);

Please let me know if this helps.

Best Regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.