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!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote
<
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) { <S
yncfusion.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:

Error: System.ArgumentException: '0' is not a member of type 'System.Collections.Generic.List`1[Project.ViewModels.ViewModel]' Parameter name: propertyOrFieldName