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!
<Syncfusion.EJ2.Blazor.Grids.EjsGrid @ref="@GridView" ModelType="@(new ViewModal())" DataSource="@data" AllowPaging="true" AllowSorting="true" AllowGrouping="true" AllowFiltering="true" Toolbar="@(new List<() { "Search"})"> Syncfusion.EJ2.Blazor.Grids.GridColumns>
</ @{ ViewModal first = data.FirstOrDefault(); if (first != null) { foreach (var col in first.Columns) { <Syncfusion.EJ2.Blazor.Grids.GridColumn Field="@("Columns." + first.Columns.IndexOf(col).ToString() + ".Value")" HeaderText="@col.Name" />} } } Syncfusion.EJ2.Blazor.Grids.GridColumns</Syncfusion.EJ2.Blazor.Grids.EjsGrid>
Creating this will display the information exactly how it's supposed to, but as soon as you try to filter/search/group any of the columns this error throws: