你是多列单选一个?就用ChekedEdit自己根据逻辑判断
还是一列单选?就用RadioGroup,LookUpEdit还是有ComboBoxEdit都有一样的效果

解决方案 »

  1.   

    我是多列单选一行。现在是实现多选,用的 
    gridview.OptionsSelection.MultiSelect = true;    
     gridview.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.RowSelect;
    实现
      

  2.   

    有没有人知道DEV gridcontrol实现单选框效果怎么做?
      

  3.   

    DataRow dataRow=null;   
    _dtSource 为绑定列表的数据源  repositoryItemRadioGroup1.Click += new EventHandler(repositoryItemRadioGroup1_Click);     void repositoryItemRadioGroup1_Click(object sender, EventArgs e)
            {
                if (_dtSource != null && _dtSource.Rows.Count > 0 && dataRow != null)
                {
                    foreach (DataRow dr in _dtSource.Rows)
                    {
                        dr["isDefault"] = false;
                    }
                    dataRow["isDefault"] = true;
                }
            }        private void gvList_MouseDown(object sender, MouseEventArgs e)
            {
                DevExpress.XtraGrid.Views.Grid.ViewInfo.GridHitInfo hi = this.gvType.CalcHitInfo(new Point(e.X, e.Y));
                if (hi.RowHandle < 0)
                {
                    return;
                }
                dataRow = this.gvType.GetDataRow(hi.RowHandle);
            }
      

  4.   

    http://blog.csdn.net/jiankunking/article/details/44225461
    试试这个吧