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 Resizing

Thread ID:

Created:

Updated:

Platform:

Replies:

66737 Aug 1,2007 06:05 PM Aug 1,2007 06:36 PM Windows Forms 1
loading
Tags: Grouping
Abhishek Shivalingaiah
Asked On August 1, 2007 06:05 PM

Syncfusion 5.1
VS 2005

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

Thanks

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

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,
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.

;