Hi,
I am trying to implement cellMerge in a table using Linq reporting engine. While the cellMerge works, it does group by only based on the current column value. Is there any way to force cellMerge to consider the previous column value as well. I have give sample input and code for reference below. Kindly help me with this issue.
Input:
{ "Persons": [ { "Name": "Ram", "Description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum", "Id": 1, "Child": [ { "Name": "San", "Age": "10" }, { "Name": "Sanjeev", "Age": "10" } ] }, { "Name": "Raji", "Description": "Description 1", "Id": 2, "Child": [ { "Name": "Sanjeev", "Age": "10" } ] }, { "Name": "Anand", "Description": "Description 1", "Id": 3, "Child": [ { "Name": "Vishvaa", "Age": "10" }, { "Name": "Kishore", "Age": "10" } ] }, { "Name": "Sanjeev", "Description": "Description 1", "Id": 4, "Child": [ ] } ] }
Expected Output:
image.png (25.8 KB)
When I tried using CellMerge:
Template:
image.png (8.3 KB)
Output:
(The second column got merged in the last two rows. We want this not to be merged as the first column value is different)
image.png (26.5 KB)
Then I tried using Nested Table:
Template:
image.png (9.8 KB)
Output:
(The nested table height didn’t grow as the adjacent cell height and it looked odd)
image.png (25.5 KB)
Thanks.
Regards,
Ram.