This question is locked. New answers and comments are not allowed.
Hi,
I want a checkbox in my column header to select/unselect all the checkboxes in my checkbox colum.
I have the following code but it does not work:
<telerik:GridViewCheckBoxColumn DataMemberBinding="{Binding Allowed, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
IsThreeState="False"
ShowDistinctFilters="False"
AutoSelectOnEdit="True"
EditTriggers="CellClick">
<telerik:GridViewCheckBoxColumn.Header>
<CheckBox Content="Allowed"
IsThreeState="False"
IsChecked="{Binding IsSelectedAll, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
</telerik:GridViewCheckBoxColumn.Header>
</telerik:GridViewCheckBoxColumn>
I want a checkbox in my column header to select/unselect all the checkboxes in my checkbox colum.
I have the following code but it does not work:
<telerik:GridViewCheckBoxColumn DataMemberBinding="{Binding Allowed, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
IsThreeState="False"
ShowDistinctFilters="False"
AutoSelectOnEdit="True"
EditTriggers="CellClick">
<telerik:GridViewCheckBoxColumn.Header>
<CheckBox Content="Allowed"
IsThreeState="False"
IsChecked="{Binding IsSelectedAll, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
</telerik:GridViewCheckBoxColumn.Header>
</telerik:GridViewCheckBoxColumn>