This is a migrated thread and some comments may be shown as answers.

Cell with background filling based on value

1 Answer 93 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Denis Seleznev
Top achievements
Rank 1
Denis Seleznev asked on 19 Aug 2016, 02:05 PM
I need to fill background of cell based on it's value. For example, value of cell is 10%. I need left part of this cell to be blue and it part should be 10% of cell width. I also need to have same background after export to excel. It is possible to do this with kendo pivotgrid?

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 23 Aug 2016, 08:40 AM
Hello Denis,

I would suggest you use the dataCellTemplate option:

http://docs.telerik.com/kendo-ui/api/javascript/ui/pivotgrid#configuration-dataCellTemplate

With it, you can control the rendering of the data cells.

Regards,
Georgi Krustev
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
PivotGrid
Asked by
Denis Seleznev
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or