• Material 3
  • Fluent
  • Fluent 2
  • Bootstrap 5
  • Tailwind CSS
  • High Contrast
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Example of Custom Aggregate in ASP.NET Core Tree Grid Control

This sample demonstrates custom aggregates and exporting functionality in the Tree Grid. Aggregate values for the columns are displayed in the column footer, and export options are available via the toolbar buttons.

DEMO
SOURCE

The Tree Grid supports aggregates displayed in the footer, which can be configured using the aggregates property. Here, a customAggregate configuration is applied to the Category column to show a dropdown that displays the count of the selected category.

The Tree Grid also supports seamless exports to Excel, PDF, or CSV with a single click. The excelAggregateQueryCellInfo and pdfAggregateQueryCellInfo events ensure that footer aggregate values are accurately preserved in the exported files.

More information about custom aggregate can be found in this documentation section.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab