Radzen Blazor Components

PivotDataGrid dynamic data support

Schema-less datasets are common when data comes from external APIs. This demo shows how to build a pivot table on top of IDictionary<string, object> records without defining C# models.

The example generates 200 rows with dynamic columns (year, region, category, product, quantity, unit price, discount, total sales) and uses PropertyAccess.GetDynamicPropertyExpression to configure pivot rows, columns, and aggregates at runtime while enabling totals, drill-down, filtering, sorting, and field picking.

Bottom
Settings
Category
2023
Total SalesQuantityAverage DiscountAverage Unit Price
Total SalesQuantityAverage DiscountAverage Unit Price
Dairy Products
¤5.005500.0 %¤5.00¤5.005500.0 %¤5.00
Grains/Cereals
¤3.003300.0 %¤3.00¤3.003300.0 %¤3.00
Produce
¤4.004400.0 %¤4.00¤4.004400.0 %¤4.00
Seafood
¤1.001100.0 %¤1.00¤1.001100.0 %¤1.00
Condiments
¤2.002200.0 %¤2.00¤2.002200.0 %¤2.00
Confections
¤2.002200.0 %¤2.00¤2.002200.0 %¤2.00
Beverages
¤2.002200.0 %¤2.00¤2.002200.0 %¤2.00
Meat/Poultry
¤1.001100.0 %¤1.00¤1.001100.0 %¤1.00
All the tools in one place

Save Hours on Every Project

With Radzen Blazor subscription you get the full toolkit, including:

support

Dedicated support backed by proven expertise

palette

Premium themes and theme editor

widgets

Ready-to-use UI blocks

dashboard_customize

Complete app templates

format_shapes

Visual design-time-experience

Radzen Blazor Studio

Radzen Blazor Components, © 2018-2025 Radzen.
Source Code licensed under MIT

Demos Configuration

Premium Themes

  • Material 3
  • Material 3 Dark
  • Fluent
  • Fluent Dark

Free Themes

  • Material
  • Material Dark
  • Standard
  • Standard Dark
  • Default
  • Dark
  • Humanistic
  • Humanistic Dark
  • Software
  • Software Dark
An error has occurred. This app may no longer respond until reloaded. Reload 🗙