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.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

59469 Apr 13,2007 06:23 AM Apr 16,2007 01:50 PM Windows Forms 1
loading
Tags: Grouping
ejaz
Asked On April 13, 2007 06:23 AM

Hi,

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

THanks,
Ejaz

haneefm [Syncfusion]
Replied On April 16, 2007 01:50 PM

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

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.

;