Blazor Tree Grid Example - Search

Tree Grid / Filtering / Search

This sample shows how to use the Tree Grid searching feature. To search the tree grid records, use the search box in the toolbar.

Loading Syncfusion Blazor Server Demos…

Tree Grid allows you to search its content by using the SearchAsync method and the search key as a parameter. Tree Grid also supports the following search modes, which can be configured using the TreeGridSearchSettings.HierarchyMode property.

  • Parent - This is the default search hierarchy mode in Tree Grid. The searched records appear alongside their parent records. If none of the searched records have a parent record, only the searched record itself is displayed.
  • Child - The searched records are shown alongside their child records. If the searched records have no child records, only the searched records are displayed.
  • Both - The searched records are shown alongside their parent and child records. If there are no parent or child records in the searched records, only the searched records will be displayed.
  • None - Only the actual searched records are displayed.

More information can be found in this documentation section.

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE