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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Event when column width changed

Thread ID:

Created:

Updated:

Platform:

Replies:

57623 Mar 7,2007 01:03 PM UTC Mar 7,2007 03:43 PM UTC WinForms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On March 7, 2007 01:03 PM UTC

Hi,

I need to handle the event when column width is changed in the grid grouping control.
I used TableControlResizingColumn event but this event get fires every time when mouse is moved over grid. i want event to fire only when column is resized....

Please help
Thanks

Administrator [Syncfusion]
Replied On March 7, 2007 03:43 PM UTC

Hi,

To detect the column width changes in a GroupingGrid, you need to handle the ColWidthsChanged event of the GridTable. Please find the code below.

this.gridGroupingControl1.TableModel.ColWidthsChanged +=new GridRowColSizeChangedEventHandler(TableModel_ColWidthsChanged);

private void TableModel_ColWidthsChanged(object sender, GridRowColSizeChangedEventArgs e)
{
Console.WriteLine( e.From +":::" + e.To +" ===>" + e.SavedValues[0]);
}

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

;