As an example, we will display the performance of five sales groups in a table. First of all, we read the file with a “File Reader” node. The file describes the amount of sales for a given month in the current year (present) and for the same month in the previous year (prev. year) for each one of the sale groups. Next, we connect the “File Reader” node directly to a “Data to Report” node. We then open the report and display the data set into a table by drag and drop.
In the table item in the report layout:
- Select the data row of the table; that is the row of the table containing the references to the data set.
In the “Property Editor” below:
- Select the “Highlights” tab.
- Click the “Add” button to add a new Highlight for the row.
- The “New Highlight” window appears.
In the “new Highlight” window:
- Click the “Expression Builder” button. This is the button on the right of the “Condition” textbox and with text “fx”. The “Expression Builder” window appears.
In the “Expression Builder” window:
- In the bottom part, select the “Available Column Bindings” category and the “Table” sub-category.
- Double click the “RowNum” property to insert it in the “Expression Builder” editor above.
- Type “%2” to “row.__rownum” in the “Expression Builder” editor.
- Click the “OK” button.
- Define the “Condition” for the new highlight. That is:
“row.__rownum%2” “Equal to” “0”
- Define the consequent format. For example, “Background Color:” “Silver”.
- Click the “OK” button.
Run a Preview to see your table in zebra style.



RSS Feed