When a Text element, Textbox element, or Table element is bound to data, highlights can be defined for the element. A Highlight is comprised of a foreground color, a background color, and a font, which are applied to the element when a specific data condition is met.
To add a highlight to a Text or Textbox element, right-click on the element and choose ‘Highlight’ from the context menu.
The Highlight tab is now available in the bottom panel. Click ‘New’ to add a new highlight. You can assign to the highlight both foreground and background colors, as well as a specific font. Use the ‘Edit Condition’ button to add the conditions that will control highlighting.
You can assign different highlights to the same text, with each highlight representing a different condition. The highlight which is applied to the text will be the highlight whose corresponding condition is met by the current data.
To highlight data in a Table, right-click on the Table element and select ‘Highlight’. The options for a Table are similar to those for a Text element. The one difference in highlighting a Table is that you need to select the column to which the highlight should be applied. Alternatively, the highlight can be applied to an entire table row by clicking in the left margin to select the row. The following example illustrates both approaches.
The existence of a row-based highlight is indicated by an asterisk in the left margin next to the row, as shown below. To edit a row-based highlight, click the asterisk to select the row, and then proceed as shown above.
In this example, we will highlight the cells containing Totals of under 5000 using a red background, and highlight the entire rows containing Totals above 20,000 using a green background. To add these cell and row highlights, follow the steps below:
Copyright © 2024, InetSoft Technology Corp.