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

Double Click on Column Header moving columns

Thread ID:

Created:

Updated:

Platform:

Replies:

91598 Nov 25,2009 07:09 AM UTC Nov 25,2009 12:26 PM UTC WinForms 1
loading
Tags: GridControl
Hemanth Gunnam
Asked On November 25, 2009 07:09 AM UTC

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.

Thanks
Hemanth

Lingaraj S [Syncfusion]
Replied On November 25, 2009 12:26 PM UTC

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.

Regards,
Lingaraj S.

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

;