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.

Column width resizing event issue

Thread ID:

Created:

Updated:

Platform:

Replies:

52254 Nov 24,2006 02:13 AM Nov 24,2006 04:02 AM Windows Forms 1
loading
Tags: GridControl
Tannearu Hazarathaiah Gupta
Asked On November 24, 2006 02:13 AM

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 04:02 AM

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.

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.

;