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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How Do I Hide A ColumnSet

Thread ID:

Created:

Updated:

Platform:

Replies:

114141 Oct 30,2013 07:06 PM UTC Nov 7,2013 04:34 AM UTC ASP.NET Web Forms (Classic) 5
loading
Tags: GridGroupingControl
Jonathan Johnson
Asked On October 30, 2013 07:06 PM UTC

Hello, I have a gridgroupingcontrol using columnsets. One of the columnset is an ID that I do not want displayed. If I leave out the column in the columnsets then it gets placed at the end of the columns and the same thing occurs when I attempt gridgroupingcontrol1.TableDescriptor.ColumnSets.Remove("ID"). How can I hide this column? Thank you

Sarath Kumar P [Syncfusion]
Replied On October 31, 2013 11:35 AM UTC

Hi Jonathan,

 

Thanks for using Syncfusion products.

 

We are sorry for inconvenience caused. We are unable to reproduce the issue. We have prepared a simple sample, video demonstrating the working of the sample and the same can be downloaded from the following links.

 

sample- Sample.zip

 

video- Column hide.zip

 

Could you please try the above sample and get back to us whether you are able to reproduce the issue? If not, could you please give more information or by reproducing the issue in the above sample so that we could sort out the issue and provide you with solution. The information provided would be of great help in resolving the issue.

 

Please let us know if you need further assistance.

 

Regards,

 

P.SarathKumar.

 


Jonathan Johnson
Replied On November 1, 2013 07:13 PM UTC

Thank you,

I experience this issue when using merged rows in columnsets. I've attached a previous sample provided by y'all and replicated the issue in it. Thanks for your assistance.


ColumnSets_1c140e15.zip

Sarath Kumar P [Syncfusion]
Replied On November 6, 2013 06:42 AM UTC

Hi Jonathan,

 

Thanks for your update.

 

We would like to let you know that to hide a column using Colum sets you have to use Add method in class file instead of using Remove method. Please refer below code snippets.

 

[Default.aspx.vb]

 

GridGroupingControl1.TableDescriptor.ColumnSets.Add("CustomerID")

GridGroupingControl1.TableDescriptor.ColumnSets.Add("ContactName")

 

The sample can be downloaded from the following link.

 

sample- Columset.zip

 

Please let us know if you need further assistance.

 

Regards,

P.SarathKumar.

 


Jonathan Johnson
Replied On November 6, 2013 06:21 PM UTC

Thank you, This solution works.

Sarath Kumar P [Syncfusion]
Replied On November 7, 2013 04:34 AM UTC

Hi Jonathan,

 

Thanks for your update.


Please let us know if you need further assistance.

 

Regards,

 

P.SarathKumar.

 


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.

Warning Icon 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.Close Icon

;