Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
i am facing this issue in SfGrid version 20.2.0.43
When occurs when:
1) I update row in sfgrid
2) I click on add and cancel button
may be due to empty list or filtering but how to handle this issue?
i also even checked the events like SelectingRow, ActionBegin, ActionComplete etc.. but no any solution found..
System.InvalidOperationException: Sequence contains no elements
at System.Linq.ThrowHelper.ThrowNoElementsException()
at Syncfusion.Blazor.Grids.SfGrid`1.SelectRowAsync(Double index, Nullable`1 isToggle)
at Syncfusion.Blazor.Grids.SfGrid`1.SelectRow(Double index, Nullable`1 isToggle)
at Syncfusion.Blazor.Grids.Internal.Edit`1.CloseEdit(Boolean escapeKey)
at Syncfusion.Blazor.Grids.Internal.GridToolbar`1.ToolbarClickHandler(ClickEventArgs args)
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Syncfusion.Blazor.Navigations.SfToolbar.TriggerClickEvent(MouseEventArgs e, Nullable`1 trgParentDataIndex, ItemModel clickedItem)
at Syncfusion.Blazor.Navigations.Internal.ToolbarContent.OnItemClick(MouseEventArgs e)
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)