Datagridview checkbox can’t be checked (Forms)

If a DataGridView with a checkbox column can’t be checked verify whether editing has been
disabled. EditMode set to EditOnKeystrokeOrF2 appears to work OK.

To prevent editing of specific columns, use the CellBeginEdit event or set the ReadOnly property of the column.

private void dataGridView1_CellBeginEdit(object sender, DataGridViewCellCancelEventArgs e)

Also make sure the DataGridView is Enabled and not ReadOnly!

Lastest update in February 2021, inital post in September 2017

Write a comment

I appreciate comments, suggestions, compliments etc. Unfortunately I have no time to reply to them. Useful input will be used for sure!