<
telerik:GridViewColumn
>
<
telerik:GridViewColumn.Header
>
<
CheckBox
x:Name
=
"ckbSelectAll"
IsChecked
=
"{Binding ElementName=LayoutRoot, Path=DataContext.SelectAll}"
IsThreeState
=
"False"
>
</
CheckBox
>
</
telerik:GridViewColumn.Header
>
<
telerik:GridViewColumn.CellTemplate
>
<
DataTemplate
>
<
CheckBox
IsChecked
=
"{Binding IsSelected, Mode=TwoWay}"
/>
</
DataTemplate
>
</
telerik:GridViewColumn.CellTemplate
>
</
telerik:GridViewColumn
>
I have the following column in my RadGridView. I want to be able to select all columns based on a checkbox in the header or select single columns via a checkbox in the row. The 'IsSelected' property is working as it I would expect, however the SelectAll property is not. SHOULD I be able to bind this property? I get no binding errors but also see no response to a change in the IsChecked property.
I can't use a GridViewSelectColumn b/c I need to be able to get the result of the checkboxes in my view model.
Any ideas how to accomplish this?
Tks.