想办法处理gridControl行中的checkedit事件:
private void Reorganize()
{
GridControl gridControl = gridControl1;
DevExpress.XtraGrid.Columns.GridColumn checkColumn = ((ColumnView)gridControl.Views[0]).Columns["Checked"];
RepositoryItemCheckEdit et = new RepositoryItemCheckEdit();
checkColumn.ColumnEdit = et;
et.CheckedChanged += (s, a) => {
foreach(System.Data.DataRow dataRow in _vCurrentDataTable.Rows)
{
dataRow["Checked"] = false;
}
//Console.WriteLine("{0}",gridControl.Views.Count);
//MessageBox.Show(a.ToString());
};
}