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!

8
Votes

Hello,

i want to use your treegrid but in my object i have some not editable properties.


Empty


Also my object id's has no public setter.

Is there a way or trick to show properties without setter's?


Here are the errormessage if i use properties without setter.
 

Error:

Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer: Warning: Unhandled exception rendering component: Property set method not found.


System.ArgumentException: Property set method not found.

   at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)

   at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)

   at Syncfusion.Blazor.TreeGrid.Internal.TreeGridutils`1.GetEventArgsData(Object treeData, String childMapping, Type dataType, SfTreeGrid`1 parent)

   at Syncfusion.Blazor.TreeGrid.Internal.GridRenderer`1.GetTreeData(IEnumerable`1 dataSource)

   at Syncfusion.Blazor.TreeGrid.Internal.TreeGridutils`1.ConvertToTreeGridArgs(Object gridArgs, Object treeGridArgs, SfTreeGrid`1 parent)

   at Syncfusion.Blazor.TreeGrid.Internal.GridRenderer`1.BeforeDataBoundHandler(BeforeDataBoundArgs`1 args)

   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)

   at Syncfusion.Blazor.Internal.SfBaseUtils.InvokeEvent[T](Object eventFn, T eventArgs)

   at Syncfusion.Blazor.Grids.SfGrid`1.VirtualDataProcess(List`1 QueryStartIndexes, ActionArgs action, DataReadyArgs`1 eventArgs)

   at Syncfusion.Blazor.Grids.SfGrid`1.DataProcessChild(ActionArgs action, ActionEventArgs`1 actionArgs)

   at Syncfusion.Blazor.Grids.SfGrid`1.DataProcess(ActionArgs action, ActionEventArgs`1 actionArgs)

   at Syncfusion.Blazor.Grids.SfGrid`1.DataProcess(ActionArgs action, ActionEventArgs`1 actionArgs)

   at Syncfusion.Blazor.Grids.Internal.Preloader`1.OnParametersSetAsync()

   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)

   at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()

Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost: Error: Unhandled exception in circuit 'puILt3hadstk3Sf1KAxJzcgY7kkU0QunyProFDNecN8'.



Thank's an greetings

Martin