Monday, December 22, 2008

WPF DataGrid CheckBox Column Editing

We’re using the WPFToolkit on my current project, specifically the DataGrid control. We needed to programmatically add some CheckBox Columns to the layout, and it was pretty straight-forward.

The only issue we had was the cells required two clicks to flip the checked state of these cells. I spent a few minutes searching through the Discussions for the project and stumbled across this gem: Single Click Editing – worked like a charm (and now QA should be able to resolve the bug that was generated around this quirky functionality).

No comments:

Post a Comment