Display crosstab data in a Blazor DataGrid by pivoting rows into columns - summarize values across two dimensions, such as sales by product and month, in a single grid.
Year | 2014 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 |
|---|---|---|---|---|---|---|---|---|---|---|
| Company | Victuailles en stock | Morgenstern Gesundkost | Königlich Essen | QUICK-Stop | Vins et alcools Chevalier | Suprêmes délices | Richter Supermarkt | Wartian Herkku | Centro comercial Moctezuma | Toms Spezialitäten |
| Amount | ¤815.60 | ¤1,200.80 | ¤1,661.40 | ¤7,520.00 | ¤1,100.20 | ¤6,438.80 | ¤2,490.50 | ¤3,210.80 | ¤100.80 | ¤1,863.40 |
Yes - project each cross dimension into its own column and define those columns; for a full pivot UI with row and column groups, use the PivotDataGrid.
Radzen Blazor Components, © 2018-2026 Radzen.
Source Code licensed under
MIT