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

Prevent resizing of columns

Thread ID:

Created:

Updated:

Platform:

Replies:

42873 Apr 7,2006 05:22 PM UTC Apr 10,2006 04:32 AM UTC WinForms 1
loading
Tags: GridControl
Stephen
Asked On April 7, 2006 05:22 PM UTC

How do I prevent the resizing of a column by the user? I tried handling the GridColumnDescriptorCollection.Changing event, checking if the property is "Width", and if so, doing e.Cancel = true. I set a breakpoint at e.Cancel = true and it does run the code, but for some reason, the column still resizes. Is there anything I''m missing or is there another way to do this? Thanks.

Administrator [Syncfusion]
Replied On April 10, 2006 04:32 AM UTC

Hi Stephen, Resizing of a column can be prevented by handling the gridGroupingControl1.TableControlResizingColumns event and setting the e.Inner.Cancel to true. Regards, Calvin.

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

;