In-Table List with Highlighted Rows in HTML Document

In-Table List with Highlighted Rows in HTML Document

Reporting Requirement

As a report developer, you are required to represent customers’ orders information with a specific filtering condition with the following key requirements:

  • The report must show each customer along with his orders.
  • Show single Customer and his single order price in a single row.
  • It must highlight the record with order price more than or equal to 400.
  • It must show sum of the order prices.
  • It must represent all the information in tabular form.
  • The report must be generated in the Word Processing Document.

Adding Syntax to be evaluated by GroupDocs.Assembly Engine

Customer

Order Price

<<foreach [in orders]>><<if [Price >= 400]>><<[Customer.CustomerName]>>

<<[Price]>>

<<else>><<[Customer.CustomerName]>>

<<[Price]>><</if>><</foreach>>

Total:

<<[Sum(c => c.Price)]>>

In-Table List with Highlighted Rows Template

Please download the In-Table list with highlighted rows template document we created in this article:

Generating The Report

© Aspose Pty Ltd 2001-2022. All Rights Reserved.