0

I have DataGridView it's contains 4 columns, one of the column is DataGridViewComboBoxColumn.

In DataGridView I want to prevent user to delete, edit, add rows in data grid view, so I set the ReadOnly property of the DdataGgridView to true.

My problem is that DataGridViewComboBoxColumn is not selectable because ReadOnly property is set true.

Any idea how can I prevent user to delete, edit, add rows in DataGridView control, but make DataGridViewComboBoxColumn selectable?

Michael
  • 13,950
  • 57
  • 145
  • 288

1 Answers1

1

Please read the following artice.

Its about make readonly, just the cells, not the whole DataGrid

Krekkon
  • 1,349
  • 14
  • 35