Hi,
I've tried to create the column with checkbox. While checking the before column need to edit, like uncheck we need recover the original value.
For this, I've triend with both approach given by you people.
1. By using <GridViewCheckBoxColumn> after setting EditTriggers="CellClick" and AutoSelectOnEdit="True", its not working. I cant check or uncheck the checkbox. So I'm using the following way,
2. <telerik:GridViewDataColumn x:Name="EditCheckboxColumn" Header="Edit" UniqueName="Edit" IsReadOnly="True">
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<CheckBox IsChecked="{Binding IsActive, Mode=TwoWay}" Unchecked="CheckBox_Unchecked" />
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
<telerik:GridViewDataColumn.CellEditTemplate>
<DataTemplate>
<CheckBox IsChecked="{Binding IsActive, Mode=TwoWay}" />
</DataTemplate>
</telerik:GridViewDataColumn.CellEditTemplate>
</telerik:GridViewDataColumn>
Here In the Cell Template - declared checkbox has a event as "UnChecked". But In the code behind its NOT TRIGGERING.
Please help/guide me to do the requirement or do let me know if i'm missing something.
Thanks in advance,
Karthikeyan Manickam.
I've tried to create the column with checkbox. While checking the before column need to edit, like uncheck we need recover the original value.
For this, I've triend with both approach given by you people.
1. By using <GridViewCheckBoxColumn> after setting EditTriggers="CellClick" and AutoSelectOnEdit="True", its not working. I cant check or uncheck the checkbox. So I'm using the following way,
2. <telerik:GridViewDataColumn x:Name="EditCheckboxColumn" Header="Edit" UniqueName="Edit" IsReadOnly="True">
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<CheckBox IsChecked="{Binding IsActive, Mode=TwoWay}" Unchecked="CheckBox_Unchecked" />
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
<telerik:GridViewDataColumn.CellEditTemplate>
<DataTemplate>
<CheckBox IsChecked="{Binding IsActive, Mode=TwoWay}" />
</DataTemplate>
</telerik:GridViewDataColumn.CellEditTemplate>
</telerik:GridViewDataColumn>
Here In the Cell Template - declared checkbox has a event as "UnChecked". But In the code behind its NOT TRIGGERING.
Please help/guide me to do the requirement or do let me know if i'm missing something.
Thanks in advance,
Karthikeyan Manickam.