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

Obtain column index by name

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?


2 Replies

RW Randy Wang January 24, 2013 06:25 PM UTC

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


RD Rakesh D Syncfusion Team January 26, 2013 03:21 AM UTC

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.

 

Regards,

Rakesh D

 

 


Loader.
Live Chat Icon For mobile
Up arrow icon