WPF's DataGrid requires a double click to enter cell editing mode, and then the user can change the checkbox value.
How to make a cell editable without requiring the double click for entering the edit mode?
Just think of using a CheckBox directly in your CellTemplate.
<DataGridTemplateColumn Header="Your boolean column">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<CheckBox IsChecked="{Binding YourBooleanProperty, UpdateSourceTrigger=PropertyChanged}" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With