Skip to main content

How to: Select Cell Templates Based on Custom Logic

The following example demonstrates how to select the cell template based on custom logic.

In this example, data cell values are represented by progress bars. The template used to display the data cells is selected based on the share of the data cell value in the Row Grand Total value. If this share is bigger than 80% or less than 20%, a red progress bar is displayed in the cell. Otherwise, a blue bar is displayed.