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.

Bug in GridControl : Hidden column becomes visible when doubleclick between columns to autosize.

Thread ID:





75113 Jul 14,2008 03:57 AM Aug 1,2008 03:40 AM Windows Forms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On July 14, 2008 03:57 AM


When I double click between two columns, the column gets resized autmatically. The problem is that the hidden column next to it suddenly becomes visible and that may not happen.

Do you have a solution in which no columns become visible ?

SubhaSheela R [Syncfusion]
Replied On July 15, 2008 06:55 AM

Hi Gert,

Thanks for your interest in Syncfusion products.

If your intention is to hide the column, then you can handle the QueryColWidth event of GridGrouping Control and set its size to hide it.

Here is the code snippet:

this.gridGroupingControl1.TableModel.QueryColWidth += new GridRowColSizeEventHandler(TableModel_QueryColWidth);

void TableModel_QueryColWidth(object sender, GridRowColSizeEventArgs e)
if (e.Index == 1)
e.Size = 0;
e.Handled = true;

Please let me know if it helps.

Subhasheela R

Administrator [Syncfusion]
Replied On August 1, 2008 03:40 AM

Thx for the info.


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.