Hello,
i am using a Gridview that is having a RadObservableCollection<T> (where T is DependencyObject, INotifyPropertyChanged) as ItemsSource. The same collection is also used in a Chartview as Datasource for a Lineseries.
Any changes in the Chart (Drag&Drop) are reflected in the Gridview and the other direction works too.
My problem is the way the editing is passed on:
I have a Double Column which is editable and reflect the values that are shown in the Chart too. But the editing changes are passed on the the chart on every keypress during the editing which is very irritating.
So lets say someone wants to enter 749 as new value the behavior is now like this:
- press key 7 -> datapoint in chart jumps to Y-Value 7
- press key 4 -> datapoint in chart jumps to Y-Value 74
- press key 9 -> datapoint in chart jumps to Y-Value 749
what i want is this:
- press key 7 -> nothing
- press key 4 -> nothing
- press key 9 -> nothing
- press return -> datapoint in chart jumps to Y-Value 749
I guess I need to block some notification sending in the BeginningEdit event and pass out the final new value only in the CellEditEnded event. But i havent been able to work out how.
Thanks in advance!
Mikk