thanks for an asnwer.
i am not sure it’s work correct.
my grid contains dataRows. and i am allow to select only one row for now
CurentRow which is Row and dataRow two differ classes.
at the same time this expample does not work.
foreach( Row row in gridControl1.SelectedRows )
if (row is DataRow)
gridControl1.SelectedRows.Remove( row );
it throw exception:
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
Sorry! seems to me i am missing something.
Imported from legacy forums. Posted by roland100 (had 319 views)