DataGrid / Exporting / Detail Template Exporting

Blazor DataGrid Example - Detail Template Exporting

Loading Syncfusion Blazor Server Demos…

This sample demonstrates the export functionality of detail templates in the DataGrid, allowing you to export detailed grid content to Excel and PDF file formats.

The Blazor DataGrid detail template feature displays additional information about specific rows when expanded or collapsed. Wrap the required content with the DetailTemplate within the GridTemplates component. Expanded rows are useful for visualizing hierarchical statistical data.

Enable detail row exporting by configuring the following properties in export settings:

Customize detail row exports using the following events:

The detail template exporting supports the following modes:

  • Expand - Exports all detail rows in an expanded state.
  • Collapse - Exports detail rows in a collapsed state (Excel exporting only).
  • None - Exports only parent rows without details.

In this demo, detail row exporting is configured to expand all rows and export detailed employee information.

For more detailed information about exporting features, refer to the Excel export documentation.

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