Templates

The Pivot Grid was moved to maintenance support mode. No new features/capabilities will be added to this component.

Grand Total
AmountCountAmountCountAmountCountAmount TotalCount Total
$43,62026$45,20028$22,02011$110,84065
$189,19041$200,86544$111,54020$501,595105
$101,47531$76,13027$42,27013$219,87571
$215,11554$216,42555$83,63521$515,175130
$229,64579$204,20567$72,92527$506,775173
$97,84538$100,48042$50,31517$248,64097
Grand Total$876,890269$843,305263$382,705109$2,102,900641

The Pivot Grid component allows you to use native Razor markup to define custom templates for its elements.

This demo specifies templates for the following Pivot Grid Fields:

  • Quarter - Uses a HeaderTemplate to format quarter numbers.

  • Month - Uses a HeaderTemplate to transform month numbers into culture-specific month names.

  • Count - Uses a DataTemplate to apply bold formatting to all values.

  • Amount - Uses a DataTemplate to apply conditional formatting to values.