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. Image for the cookie policy date

How to get column name and index in ''TableControlResizingColumns'' event of Gouping Grid

Hi,

pls tell me how to get column index and column name in 'TableControlResizingColumns' event of Gouping Grid.

THanks,
Ejaz

1 Reply

HA haneefm Syncfusion Team April 16, 2007 05:50 PM UTC

Hi Ejaz,

You can try this code.

int ColIndex = e.Inner.Columns.Left;
int fields = e.TableControl.TableDescriptor.ColIndexToField(ColIndex);
string ColumnName = e.TableControl.TableDescriptor.VisibleColumns[fields].Name;

Best regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon