目前是焦点移到某个单元格时,该单元格马上变为编辑模式,用户极为不满.
请高手帮忙,急!

解决方案 »

  1.   

    How to force the XtraGrid to auto-select cell contentsArticle ID: A277 ; Product Group: .NET ; Product: XtraGrid ; Version(s): 6.x ; Modified On: 6 Nov 2006 DescriptionHow do I force the grid to automatically select (highlight) all text in a cell when activated?SolutionBy default, the OptionsBehavior.AutoSelectAllInEditor option is activated and it makes the grid select text when a cell is opened for editing. However, when a cell is activated via a mouse click (vs. the Enter or F2 key), the click is redirected to the in-place editor and resets text selection. This behavior can be changed via the OptionsBehavior.EditorShowMode property. For example, please set it to MouseUp or Click.
      

  2.   

    需要 Dxperience 6.3.2 源码的话找我,绝无编译使用问题
      

  3.   

    设置GridView的Appearance下面的FocusedCell的属性,可以设置的有很多呢。
    比如:
    this.gridView1.Appearance.FocusedCell.BackColor=Color.Red;
      

  4.   

    grdView.OptionsBehavior.Editable = false;   //设置不允许编辑