Datagridview set enabled on false for every colomn but allow checking a checkbox

I have a datagridview that has checkboxes in the first column. When a checkbox is checked the row gets selected. Only the row also gets selected if I click anywhere else in the datagrid. I would like to set datagridview.selected = $false, only that also prevents the ability to check the checkbox.

Thanks

June 19th, 2015 7:59am

That is correct. If you set full row select then a click anywherere selects the row.  Down' set full row select.

Free Windows Admin Tool Kit Click here and download it now
June 19th, 2015 8:35am

But I want to select the full row if the checkbox is checked, not when I click anywhere else.
June 19th, 2015 12:09pm

That is how you have to do it then get the checked event and manually select the entire row.

Free Windows Admin Tool Kit Click here and download it now
June 19th, 2015 12:12pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics