Multicolored Numbered List in HTML Document

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>
&lt;&lt;foreach [in getClients()]&gt;&gt;
<li &lt;&lt;if [indexOf() % 2 == 0]&gt;&gt;style="background-color:#FFF8DC"&lt;&lt;/if&gt;&gt;>&lt;&lt;[getName()]&gt;&gt;</li>
&lt;&lt;/foreach&gt;&gt;
</ol>

Download Multicolored Numbered List Template

Please download the sample template we created in this article:

Generating The Report

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