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 : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

75113 Jul 14,2008 07:57 AM UTC Aug 1,2008 07:40 AM UTC WinForms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On July 14, 2008 07:57 AM UTC

Hello,

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 10:55 AM UTC

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.

Regards,
Subhasheela R


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

Thx for the info.


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

;