seems like this would be a common question, but searching yielded nothing...the DataGridViewColumn
has a DisplayIndex
property indicating it's index as displayed on screen (vs the Index
property which related - I think - to the order it was added to the grid). Is there a similar concept for rows? I want to iterate through the rows as they are displayed on screen, which may change if a column is sorted.
edit: this is the WinForms DataGridView