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.

Grid - Hide Plus Minus Column

Thread ID:

Created:

Updated:

Platform:

Replies:

90395 Sep 29,2009 12:27 PM Oct 14,2009 09:29 AM ASP.NET Web Forms (Classic) 3
loading
Tags: GridGroupingControl
Randy VondrakNO longer coding .NET
Asked On September 29, 2009 12:27 PM

I am trying to hide the plus minus column from a grid. I have successfully hidden the plus minus symbol by reading other post but don't see how to make the column disappear. It is shifting the grid over to the right slightly because of the space held for the plus minus symbol even though it does not appear. I know how to hide columns that are named but don't know how to hide this one. Please help.

Gowri Manohari D [Syncfusion]
Replied On September 30, 2009 09:48 AM

Hi Randy,

Thank you for choosing Syncfusion Products.

Grid control supports GridGroupingControl1.TableDescriptor.VisibleColumns.Remove() method in order to invisible the particular column. For your requirement please use the above method with the (+/-) symbol column name.

GridGroupingControl1.TableDescriptor.VisibleColumns.Remove("ColumnName");

Please let me know if you have any other concerns

Regards,
Gowri

Randy VondrakNO longer coding .NET
Replied On October 9, 2009 10:11 AM

Thanks, I have used that method to remove named columns however, I do not know the name of the caption plus/minus column since I don't set it and it doesn't appear in the tags of the grid. I've attached a screenshot of how what blank space appearing. Do you know the default name or value for this column?



GridSS_1a6d90b.zip

Gowri Manohari D [Syncfusion]
Replied On October 14, 2009 09:29 AM

Hi Rabdy,

We can remove this blank space by using the below property

this.GridGroupingControl1.TableOptions.ShowTableIndent = false;

Let me know if you have any other concerns.

Regards,
Gowri

CONFIRMATION

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.

;