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. Image for the cookie policy date

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

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 ?


2 Replies

SR SubhaSheela R Syncfusion Team 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



AD Administrator Syncfusion Team August 1, 2008 07:40 AM UTC

Thx for the info.


Loader.
Live Chat Icon For mobile
Up arrow icon