25 out of range 0 to 24 (Parameter 'index')
at Syncfusion.UI.Xaml.Grid.ScrollAxis.DistanceRangeCounterCollection.CheckRange(String paramName, Int32 from, Int32 to, Int32 actualValue)
at Syncfusion.UI.Xaml.Grid.ScrollAxis.DistanceRangeCounterCollection.GetNextVisibleIndex(Int32 index)
at Syncfusion.UI.Xaml.Spreadsheet.SpreadsheetGrid.ScrollColumns_Changed(Object sender, ScrollChangedEventArgs e)
at Syncfusion.UI.Xaml.Grid.ScrollAxis.ScrollAxisBase.RaiseChanged(ScrollChangedAction action)
at Syncfusion.UI.Xaml.Grid.ScrollAxis.ScrollAxisBase.ScrollLinesHost_LinesRemoved(Object sender, LinesRemovedEventArgs e)
at Syncfusion.UI.Xaml.Grid.ScrollAxis.LineSizeCollection.RemoveLines(Int32 removeAtLine, Int32 count, IEditableLineSizeHost movelines)
at Syncfusion.UI.Xaml.Grid.ScrollAxis.LineSizeCollection.RemoveLines(Int32 removeAtLine, Int32 count)
at Syncfusion.UI.Xaml.Spreadsheet.SpreadsheetGridModel.RemoveColumns(Int32 removeAtColumnIndex, Int32 count)
at Syncfusion.UI.Xaml.Spreadsheet.Commands.DeleteSheetColumnsCommand.OnExecute(Object parameter)
at Syncfusion.UI.Xaml.Spreadsheet.Commands.CommandBase.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)