I have the following GridViewDataColumn with the checkbox and textblock Elements in the celltemplate. If the checkbox is checked, the textblockcontent in CellTemplate should be updated. But actualy the textcontent is updated when the cell get into edit mode. How can i update the content of textblock in the view if the Checkbox is checked.
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding IsChecked, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
IsReadOnlyBinding
=
"{Binding Unavailable}"
EditTriggers
=
"CellClick"
Header
=
"Check"
Width
=
"Auto"
>
<
telerik:GridViewDataColumn.CellTemplate
>
<
DataTemplate
DataType
=
"{x:Type views:ListItem}"
>
<
Grid
>
<
CheckBox
IsChecked
=
"{Binding Path=IsChecked}"
IsEnabled
=
"{Binding Path=Unavailable, Converter={StaticResource InverseBooleanConverter}}"
Command
=
"{...}, Path=Data}"
CommandParameter
=
"{...}"
>
<
TextBlock
Text
=
"{Binding Status, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
TextAlignment
=
"Right"
></
TextBlock
>
</
CheckBox
>
</
Grid
>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellTemplate
>