Multicolored Numbered List in HTML Document
In this article, we will use GroupDocs.Assembly to generate a Multicolored Numbered List report in HTML Document format.
Multicolored Numbered List in HTML Document
Reporting Requirement
As a report developer, you are required to represent the following key requirements:
- Report must show the clients in numbered list.
- It must highlight the products.
- Report must be generated in the HTML Document.
Adding Syntax to be evaluated by GroupDocs.Assembly Engine
We provide support for the following clients:
<ol>
<<foreach [in getClients()]>>
<li <<if [indexOf() % 2 == 0]>>style="background-color:#FFF8DC"<</if>>><<[getName()]>></li>
<</foreach>>
</ol>
Download Multicolored Numbered List Template
Please download the sample template we created in this article:
Generating The Report
The code uses some of the objects defined in: The Business Layer