R – Checkbox not appearing in Winform GridView

datagridviewwinforms

I am binding a datagridview to a list of objects. One of its columns is a checkbox which is supposed to represent a bool property, the rest are comboboxes and textboxes. Everything is fine, but the checkbox cell is appearing as blank !

Also, when I assign the columntype, each type appears twice in the list e.g. DataGridViewCheckBoxColumn
DataGridViewCheckBoxColumn? why is that happening ?

Best Answer

I just had to increase the row height from 17 to 18 !! Figured it out by chance

Related Topic