This question is locked. New answers and comments are not allowed.
Hello,
upon removing an item from an ObservableCollection that is bound to the ItemsSource of a RadDataGrid, I get an InvalidOperationException with the following stacktrace.
Whether the item is selected or not makes no difference.
Is there a workaround?
EDIT: Ok, the workaround is to replace the entire list with a new one after removing the desired item.
So will there be a fix for this any time soon (maybe in the Q2 release)?
upon removing an item from an ObservableCollection that is bound to the ItemsSource of a RadDataGrid, I get an InvalidOperationException with the following stacktrace.
System.InvalidOperationException at System.Linq.Enumerable.Last[TSource](IEnumerable`1 source) at Telerik.UI.Xaml.Controls.Grid.NodePool`1.GenerateContainer(IList`1 itemInfos) at Telerik.UI.Xaml.Controls.Grid.NodePool`1.GenerateBottomBufferItems(Int32 startGenerateIndex, Double viewportLength) at Telerik.UI.Xaml.Controls.Grid.NodePool`1.OnMeasure(RadSize availableSize, Double offset) at Telerik.UI.Xaml.Controls.Grid.GridModel.MeasureCells(RadSize newAvailableSize) at Telerik.UI.Xaml.Controls.Grid.RadDataGrid.OnCellsPanelMeasure(RadSize newAvailableSize) at Telerik.UI.Xaml.Controls.Grid.Primitives.DataGridCellsPanel.MeasureOverride(Size availableSize)Whether the item is selected or not makes no difference.
Is there a workaround?
EDIT: Ok, the workaround is to replace the entire list with a new one after removing the desired item.
So will there be a fix for this any time soon (maybe in the Q2 release)?