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 | Vins et alcools Chevalier | Victuailles en stock | Magazzini Alimentari Riuniti | Hanari Carnes | Toms Spezialitäten | Rattlesnake Canyon Grocery | QUICK-Stop | Chop-suey Chinese | Ernst Handel | HILARION-Abastos |
| Amount | ¤1,100.20 | ¤815.60 | ¤915.20 | ¤3,257.80 | ¤1,863.40 | ¤9,130.40 | ¤7,520.00 | ¤625.20 | ¤4,483.40 | ¤1,119.90 |
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.
Get an email when new components and releases ship.
With Radzen Blazor subscription you get the full toolkit, including:
Dedicated support backed by proven expertise
Premium themes and theme editor
Ready-to-use UI blocks
Complete app templates
Visual design-time-experience

Radzen Blazor Components, © 2018-2026 Radzen.
Source Code licensed under
MIT
Premium Themes
Free Themes