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

get column index by column name

Thread ID:





62054 Jun 7,2007 03:41 AM UTC Jun 7,2007 03:49 PM UTC WinForms 1
Tags: Grouping
Asked On June 7, 2007 03:41 AM UTC

Is is possible to get the column index by column name?


Administrator [Syncfusion]
Replied On June 7, 2007 03:49 PM UTC

There are some helper methods in the TableDescriptor that can help with this.

int field = this.gridGroupingControl1.TableDescriptor.NameToField("SomeName");
int colIndex = this.gridGroupingControl1.TableDescriptor.FieldToColIndex(field);


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

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