We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

LINQ Reporting Engine - Hiding Repeating Cell Values NOT Working

I am trying to use LINQ Reporting Engine provided by Aspose to convert word template into actual word docx document.

This is my scenario:
I have custom object list to fill the table in my template.
This list is basically contains objects with some properties. For example, it has Country and its States list.
So one country has 10 states, other country has 5 status hypothetically.
I want to show this info in a table with 2 columns.
In first column, country name will be shown and in second column, it should show all its states.
But I don’t want Country to be shown if its same in previous row.
So Country will be shown only once for its States.

I tried this with Test Template but its NOT working.
I have attached test console application for this which has template in it.
It also has Expected output document which shows the output which I need to have.
AsposeTestConsole_Repeat.zip (29.2 KB)

Please check this.
Making multiple class object may NOT be correct solution for me because this is just one example of my data.
I have similar data structures coming from various data tables which I need to use with Template.


Thanks for your inquiry. We are investigating this issue and will get back to you soon.


Thanks for your patience. Please use <<[src.First().SourceName]>> in your template document to fix the exception. We have modified the template document and attached it with this post for your kind reference. You can use the same approach to get the desired output. Hope this helps you.
POCExample_Template_RepeatIssue_modified.zip (12.9 KB)