issues representing docx table within "each" loop



  • Hello,

    I'm trying to create a docx report with submarkets array, and a nested items array. I want each submarket to repeat a table of items. Here's a playground ilustrating my problem:

    https://playground.jsreport.net/w/lukuser/cleGQAvm

    Template V2 seems to represent tables for each 2 items one on top of another. While template V2.1 doesn't show any data. The difference between them is the location of the initial tag {{#each submarkets}}. In both templates the submarkets table seems to be correctly between {{#each submarkets}} tag and the closing {{/each}} tag, but in template V2 it is higher (under the black header).


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.