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

Column width resizing event issue

Thread ID:

Created:

Updated:

Platform:

Replies:

52254 Nov 24,2006 07:13 AM UTC Nov 24,2006 09:02 AM UTC WinForms 1
loading
Tags: GridControl
Tannearu Hazarathaiah Gupta
Asked On November 24, 2006 07:13 AM UTC

Hi,

Could uoy pls tell me which even get raised or fired when a column widhth is changed

Thanks,
Hazrat

Administrator [Syncfusion]
Replied On November 24, 2006 09:02 AM UTC

Hi Tannearu,

You can handle the grid.Model.QueryColWidth event to detect the colwidth changes in a grid. If you want to cancel the resizing of the column, you can use ResizingColumns event and set e.Cancel to TRUE . Here is a code snippet to show this.

private void gridDataBoundGrid1_ResizingColumns(object sender, GridResizingColumnsEventArgs e)
{e.Cancel = true;}

Best Regards,
Haneef

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

;