DataGrid / Exporting / Print

Blazor DataGrid Example - Print Functionality

Loading Syncfusion Blazor Server Demos…

1 of 7 pages (75 items)

This sample demonstrates the DataGrid print functionality for generating printable representations of grid data.

The Blazor DataGrid provides print capabilities through the PrintAsync method. When printing:

  • The pager is automatically removed from the printed output
  • Scrollbars are hidden to provide clean printed content
  • All pages are printed by default

You can control the print behavior using the PrintMode property:

  • AllPages - Prints all pages of the DataGrid (default)
  • CurrentPage - Prints only the currently visible page

In this demo, click the toolbar button to trigger the print functionality. The DataGrid will prepare data for printing and open the browser's print dialog.

For more detailed information about the print feature, refer to the print 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