Hello,
I have a column in my grid letting me edit a numeric value like that.
<
telerik:GridViewDataColumn
Header
=
"Abscence"
DataMemberBinding
=
"{Binding Abscence}"
UniqueName
=
"Abscence"
TextAlignment
=
"Right"
>
<
telerik:GridViewDataColumn.CellEditTemplate
>
<
DataTemplate
>
<
telerik:RadNumericUpDown
Loaded
=
"Editor_Loaded"
Maximum
=
"25"
UpdateValueEvent
=
"PropertyChanged"
Value
=
"{Binding Abscence, Mode=TwoWay, UpdateSourceTrigger=Explicit}"
IsInteger
=
"True"
/>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellEditTemplate
>
</
telerik:GridViewDataColumn
>
I seems to me that this changed with the latest framework version as it was working before.
The thing is that when the value in my cell is zéro it cannot be changed. Wheter I use up, down or I type new value directly.
When I get out of the cell, I'm still at zéro.
Now when the cell has a value différent from zéro, 20 for example, the cell behaves correctly. When I get out it keeps the value and I get notified.
But here comes the strange... When I set the content of my cell back to zéro... it cannot be changed anymore...
When I remove the UpdateSourceTrigger=Explicit eveything works fine. Can someone explain this to me?
Thank you for your help,
John.