$3.25
3
$9.75
$3.60
1
$3.60
$1.75
2
$3.50
$3.60
2
$7.20
$1.75
5
$8.75
$3.25
3
$9.75
$3.60
3
$10.80
$1.75
4
$7.00
$3.25
2
$6.50
$3.60
6
$21.60
$1.75
1
$1.75
$3.25
2
$6.50
$3.60
3
$10.80
$1.75
1
$1.75
$3.25
1
$3.25
$1.75
3
$5.25
$3.25
2
$6.50
$3.60
2
$7.20
$1.75
1
$1.75
$3.25
4
$13.00
$1.75
3
$5.25
$3.25
3
$9.75
$3.60
2
$7.20
$1.75
2
$3.50
$3.25
3
$9.75
$1.75
3
$5.25
$3.25
4
$13.00
$3.60
5
$18.00
$1.75
2
$3.50
$3.25
2
$6.50
$3.60
4
$14.40
Antoni
Beate
Elio
Nancy
Martin
Mayumi
Ian
Cheryl
Lars
Guylene
Sven
Shelley
White Chocolate Mocha
Sum
Count
Average
Espresso con Panna
Sum
Count
Average
Espresso Truffle
Sum
Count
Average

Description

This is an example of Vue Pivot Grid with custom style of the grid cells depending on their current value. You can change the rendering of any cell, row or column and insert your own HTML content by implementing the itemsRenderer and cellsRenderer functions. In this case, the custom code simply chooses among five predefined colors and sets the backgroundColor property of the cell content. This color customization is applied only to the cells with 'Sum' aggregation function. You can change the code of the itemsRender and cellsRenderer functions and implement your own customization logic using standard HTML and CSS.