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

GGC.TableControlResizingColumns Doesn''t Fire *After* Columns Have Been Resized.

Thread ID:





57952 Mar 14,2007 03:56 PM UTC Mar 14,2007 06:10 PM UTC WinForms 2
Tags: GridControl
Eric Weinschenk
Asked On March 14, 2007 03:56 PM UTC


I'm trying to find the event that tells me when a user has *already* resized columns on the screen. This way, I can then access the values of the Columns which will have already been set by the action and propagate that to the column sizes for inner tables.

void GroupingGrid_TableControlResizingColumns(object sender, GridTableControlResizingColumnsEventArgs e)
if (e.Inner.Reason == GridResizeCellsReason.MouseUp)
GetTableDescriptor("ChildTable").Columns = TableDescriptor.Columns;


This code gets called at the correct time (sort of) but the values of the columns widths are incorrect.

Is there an event which will fire after these values have been set?

Administrator [Syncfusion]
Replied On March 14, 2007 04:35 PM UTC

Hi Eric,

You can try the TableModel.ColWidthChanged event to detect after column widths for a specified range of column have been changed.

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

void TableModel_ColWidthsChanged(object sender, GridRowColSizeChangedEventArgs e)
Console.WriteLine("changed :" + e.SavedValues[0]);

Best regards,

Eric Weinschenk
Replied On March 14, 2007 06:10 PM UTC

Thanks, your solution worked great.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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