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.

Double Click on Column Header moving columns

Thread ID:





91598 Nov 25,2009 02:09 AM Nov 25,2009 07:26 AM Windows Forms 1
Tags: GridControl
Hemanth Gunnam
Asked On November 25, 2009 02:09 AM

I am currently using Syncfusion 3.3. I am using a GridControl, whenever i double click on the column header, the columns are getting moved in a weired fashion. Is this a bug.


Lingaraj S [Syncfusion]
Replied On November 25, 2009 07:26 AM

Hi Hemanth,

Thank you for your interest in Syncfusion products.

The GridControl re-size the column when DoubleClick has been performed in column separator. If you want to prevent this functionality in GridControl, then please try using the below way to achieve your requirement as shown below:

this.gridControl1.ResizingColumns += new GridResizingColumnsEventHandler(gridControl1_ResizingColumns);
void gridControl1_ResizingColumns(object sender, GridResizingColumnsEventArgs e)
if (e.Reason == GridResizeCellsReason.DoubleClick)
e.Cancel = true;

Please let me know if you have any queries.

Lingaraj S.


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.