DataGridView read only cells

前端 未结 9 479
余生分开走
余生分开走 2020-12-09 10:57

I have a binded DataGridView that contains a large amount of data. The problem is that some cells has to be ReadOnly and also when the user navigates with TAB or ENTER betwe

9条回答
  •  情深已故
    2020-12-09 11:39

    I haven't tried this.

    But, you could set the cell's readonly property to true (as per Rashmi), on RowEnter event?

    I guess RowEnter event should fire when you move from one row to the other (or it should when you change from cell A1 to B3).

    Does that help at all?

提交回复
热议问题