Datagrid filter on bit data type

Hi,

I have a datagrid (the new one) which is displaying data from a table with a bit data typed field. The field is displayed on the screen as a checkbox which i've setup in the Template property for this column which works perfectly. The DataGrid seems to have automatically displayed a checkbox for filtering this column but, it is displaying as a tristate checkbox.

image

Is there anyway to set this to be not tristate? The datagrid is set to use the "Simple" FilterMode.

Thanks!

Hi @markb,

The tri-state is needed for true, false and to clear the filter.

Hi @enchev,

Of course it is - my mistake! ::blush: