HI,
I am using Infragistics UltraWinGrid ver7.3. I want to know how i can find the index of the selected row in UltraWinGrid at runtime? I need this as i have to set the row selected once i reload the grid as a part of refresh.
Selected property of the grid gives me the rows selected but not the index.
Thanks and regards
Casey
The ActiveRow is not the same thing as the selected rows. You probably can't get the select row indices easily. My guess is that you will have to use grid.Rows.IndexOf and pass in the row.
I'm not sure using the Index is a great idea, anyway, though. The index of the row might change when you reload the data. If any rows are added or deleted, for example. You might be better off using a primary key value in the row data itself.