Since the attribute is of type boolean field its value can either be true or false. So using check box won’t be possible. Instead you can use radio button widget or switch from widgets.
For having checkbox in datagrid, you can make checkbox using CSS, add the class name in the required column and call that attribute with the column. I hope it works.