想办法处理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()); }; }

 

相关文章:

  • 2021-12-16
  • 2022-12-23
  • 2022-02-07
  • 2022-12-23
  • 2021-08-26
  • 2021-12-30
猜你喜欢
  • 2021-10-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-17
  • 2021-08-10
相关资源
相似解决方案