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.

Obtain column index by name

Thread ID:





106747 Jan 23,2013 05:12 PM Jan 25,2013 10:21 PM ASP.NET Web Forms (Classic) 2
Tags: GridGroupingControl
Randy Wang
Asked On January 23, 2013 05:12 PM

I would like to obtain the column index by name.

Dim i as int32 = me.GridGroupingControl1.TableDescriptor.Columns("Action").Index

will gives me the perfect anaswer but I couldn't get to it.

Any other suggestions?

Randy Wang
Replied On January 24, 2013 01:25 PM

This is the solution...
Dim i As Int32 = Me.GridGroupingControl2.TableDescriptor.Columns.GetColumnDescriptor("Action").GetRelativeColumnIndex()

Rakesh D [Syncfusion]
Replied On January 25, 2013 10:21 PM

Hi Randy,


Thanks for your update. We are glad to know that your issue has been resolved. Please let us know if you have any other concerns so that we will be happy to help you out.



Rakesh D




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.