Blazor Tree Grid Example - Excel like Filter

Tree Grid / Filtering / Excel like Filter

This example shows how to filter Tree Grid columns using the Excel-like filter dialog. Clicking or tapping the filter icon on the column header opens the filter dialog for that column.

Loading Syncfusion Blazor Server Demos…

The Excel-like filter helps create complex filter criteria for a column by allowing users to select possible filter values from a checkbox list. Additionally, users can build complex filter criteria using advanced filter options such as Sorting, Clear filter, Sub menu, and more. It can be enabled by setting AllowFiltering property to true.

Tree Grid also provides support for the following filtering modes with the HierarchyMode property of TreeGridFilterSettings.

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

In this demo, Parent hierarchy mode is enabled with Excel-like filter type.

More information on the Excel-like filter 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