Blazor Tree Grid Example - Print
The print feature of Tree Grid is demonstrated in this sample. To print the Tree Grid, use the print button on the toolbar item.
Task ID | Task Name | Start Date | End Date | Progress | Priority |
---|
1 | Parent task 1 | 8/28/2022 | 9/15/2027 | In Progress | Critical |
2 | Child task 1 | 8/29/2022 | 7/1/2025 | Validated | Critical |
3 | Child task 2 | 8/30/2022 | 7/2/2025 | Open | Low |
4 | Sub task 1 | 8/29/2022 | 6/29/2024 | Closed | Normal |
5 | Sub task 2 | 8/30/2022 | 6/30/2024 | Closed | Normal |
6 | Sub task 3 | 8/31/2022 | 7/1/2024 | Closed | Normal |
7 | Parent task 2 | 8/29/2022 | 9/16/2027 | Open | Low |
8 | Child task 3 | 8/29/2022 | 7/1/2025 | Validated | Critical |
9 | Child task 4 | 8/30/2022 | 7/2/2025 | Open | Low |
10 | Sub task 4 | 8/29/2022 | 6/29/2024 | Closed | Normal |
11 | Sub task 5 | 8/30/2022 | 6/30/2024 | Closed | Normal |
12 | Sub task 6 | 8/31/2022 | 7/1/2024 | Closed | Normal |
PrintAsync method can be used to print the Tree Grid. If the pager and scrollbar are enabled in the Tree Grid, they will be removed while printing.
All pages in the Tree Grid are printed by default. Only the current page can be printed by setting the PrintMode property to CurrentPage
.
More information on the print feature can be found in this documentation section.