Determine the Colindex from GridBoundColumns("ColumnName")

I need to retrieve the colindex of a specific column. The problem is that I would like this column to not be stuck in a specific position. Is there a way to retrieve the colindex from the GridBoundColumns("ColumnName") piece?

1 Reply

AD Administrator Syncfusion Team September 28, 2004 07:38 PM UTC

You can try the grid.Binder.NameToColIndex method. This accepts the columnname and returns the colIndex in the grid.

Loader.
Up arrow icon