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

Column Resizing

Thread ID:





66737 Aug 1,2007 10:05 PM UTC Aug 1,2007 10:36 PM UTC WinForms 1
Tags: Grouping
Abhishek Shivalingaiah
Asked On August 1, 2007 10:05 PM UTC

Syncfusion 5.1
VS 2005

In the column resizing event how do I know which column is being resized?


haneefm [Syncfusion]
Replied On August 1, 2007 10:36 PM UTC

Hi Shek,

You can use this code to get column name in a TableControlResizingColumns event.

private void gridGroupingControl1_TableControlResizingColumns(object sender, GridTableControlResizingColumnsEventArgs e)
int iColIndex = e.Inner.Columns.Left;
int iField = e.TableControl.TableDescriptor.ColIndexToField(iColIndex);
if( iField >= 0 )
Console.WriteLine( e.TableControl.TableDescriptor.Columns[iField].Name);

Best regards,


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

or the page will be automatically redirected to 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