HA
haneefm
Syncfusion Team
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,
Haneef