When I have foreign columns in my Grid and manually persist and restore I get the following error:
[2021-05-27T13:40:20.764Z] Error: System.AggregateException: One or more errors occurred. (The given key 'grid-column5' was not present in the dictionary.)
---> System.Collections.Generic.KeyNotFoundException: The given key 'grid-column5' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Syncfusion.Blazor.Grids.Internal.Edit`1.<>c__DisplayClass92_0.<GetColumnType>b__0(Row`1 _)
at System.Collections.Generic.List`1.Find(Predicate`1 match)
at Syncfusion.Blazor.Grids.Internal.Edit`1.GetColumnType(GridColumn Column, Type& actualType, String field, Object data)
at Syncfusion.Blazor.Grids.SfGrid`1.SetColumnValueType()
at Syncfusion.Blazor.Grids.SfGrid`1.OnAfterRenderAsync(Boolean firstRender)
--- End of inner exception stack trace ---
Column 5 is a foreign column.
How do I fix this?
Mike