You need the loop when you subscribe to the doubleClick event of each row.
The loop is only executed once.
//place this in a init method…
foreach( Xceed.Grid.DataRow row in gridControl1.DataRows)
row.DoubleClick += new EventHandler(row_DoubleClick);
private void row_DoubleClick(object sender, EventArgs e)
I think this is the only way. And it performs without problems.
Imported from legacy forums. Posted by C# (had 480 views)