Reputation: 11090
I have programmatically added a datagridviewcheckboxcolumn as such:
DataGridViewCheckBoxColumn cb = new DataGridViewCheckBoxColumn();
dataGridView1.Columns.Add(cb);
It adds the column of check boxes fine, but it won't allow me to check any of them when I click on them? Anybody know why?
Thanks.
Upvotes: 0
Views: 960
Reputation: 15344
Set these properties of your DataGridViewCheckBoxColumn cb
cb.Frozen = false;
cb.ReadOnly = false;
Upvotes: 2