Dynamic element formatting

Some reports may require that the same kind of data be displayed differently, depending on its significance. For example, someone would want to highlight on an orders list, all the orders that have a total value greater than $100, like in the following table:

OrderID City Date Value
10251 Buenos Aires 07/15/2001 98.64
10263 Paris 09/19/2001 106.75
11320 Caracas 10/19/2001 88.10

There are now three ways to achieve this:

  • conditional styles
  • styled text
  • switching between two different text fields place one on top of the other using the <printWhenExpression>