gridView1.OptionsBehavior.Editable = false; // disable editing
gridView1.RowCellClick += gridView1_RowCellClick;
Get datarow from gridview devexpress
DataRow row = (gridView1.GetRow(e.RowHandle) as DataRowView).Row;
MessageBox.Show(row["Column1"] as string + "|" + row["Column2"] as string + "|" + row["Column3"] as string);