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

after applying a filter, all tree grid rows are expanded

when clicking on the collapse arrow the following exception is thrown

The specified key 'uniqueID' does not exist in the ExpandoObject.

more details

   at System.Dynamic.ExpandoObject.System.Collections.Generic.IDictionary.get_Item(String key) at Syncfusion.Blazor.TreeGrid.Internal.ExpandCollapse`1.UpdateLastRowBorder(Boolean IsExpandState, Row`1 row, IDictionary`2 data) at Syncfusion.Blazor.TreeGrid.Internal.ExpandCollapse`1.ExpandCollapseRequest(Row`1 row, Boolean isFirstRemoteExpand) at Syncfusion.Blazor.TreeGrid.Internal.TreeCell`2.ExpandCollapseClick(MouseEventArgs e) at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task) at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)


filter settings
<

TreeGridFilterSettings HierarchyMode="FilterHierarchyMode.Both" Mode="FilterBarMode.Immediate" ShowFilterBarStatus="false">


filter template - include an SfTextbox with a OnChange method that triggers the following method


public async void OnChange (string args)

{


    if (string.IsNullOrEmpty(args))

    {

        await TreeGrid.ClearFilteringAsync();

        await TreeGrid.CollapseAllAsync();

    }

    else

    {

        await TreeGrid.FilterByColumnAsync("FilterColumn", "contains", args, null, false);

        await TreeGrid.ExpandAllAsync();

    }


}



The same issue occurs when I use 

await

TreeGrid
.SearchAsync(args); in the OnChange method 

with the searchSetting as such 

<

TreeGridSearchSettings HierarchyMode="FilterHierarchyMode.Both" IgnoreCase Operator="Operator.Contains"> 


please not the the issue also occurs with 
FilterHierarchyMode.Parent