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 have DataGrid with custom data adapter and combobox used as a filter criteria. DataGrid initially contains rows and displayed properly on load.
Selecting other ComboBox item resulting in no rows returned will cause await Grid.Refresh() to crash:
System.InvalidOperationException: Sequence contains no elements
at System.Linq.ThrowHelper.ThrowNoElementsException()
at Syncfusion.Blazor.Grids.Internal.GridCellBase`1.EnsureTabIndex(Row`1 row, Cell`1 cell)
at Syncfusion.Blazor.Grids.Internal.GridCell`1.BuildRenderTree(RenderTreeBuilder __builder)
at Microsoft.AspNetCore.Components.ComponentBase.<.ctor>b__6_0(RenderTreeBuilder builder)
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)