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!
Exception Throws when we update the columns dynamically while using Expandoobject.
1. Run the sample.
https://www.syncfusion.com/downloads/support/forum/157011/ze/Syncfusion.Sample_6bb1d6c0_(5)1538928013.zip
Issue #1:- While defining columns with Exception throws like on button click-- System.InvalidOperationException: The converter specified on 'Syncfusion.Blazor.TreeGrid.TreeGridColumn.EditTemplate' does not derive from JsonConverter or have a public parameterless constructor.
<SfTreeGrid @ref="TreeGrid" DataSource="@TreeGridRows"
IdMapping="Id"
ParentIdMapping="ParentId"
TreeColumnIndex="0" AllowSorting="true" AllowPaging="true" Columns="@TreeColumns">
</SfTreeGrid>
Issue2:-To overcome this customer defined the columns using
<SfTreeGrid @ref="TreeGrid" DataSource="@TreeGridRows"
IdMapping="Id"
ParentIdMapping="ParentId"
TreeColumnIndex="0" AllowSorting="true" AllowPaging="true">
<TreeGridColumns>
@foreach (var treeGridColumn in @TreeColumns)
</TreeGridColumns>
</SfTreeGrid>
In this scenario, Newly added columns not been added on button click dynamically