Nested #each loops in xlsx recipe



  • Hello everyone!

    Is it possible to use nested each loops to produce sheet using xlsx recipe?
    For example if I want to build a "forum" sheet with list of categories and list of posts in each category with following code example.

    {{#each categories}} {{name}}
    {{#each posts[../id]}} {{name}} {{/each}}
    {{/each}}

    But I end up getting this error:

    unable to find end of loop (#each) in


  • administrators

    hi @CrazyClicker

    this is not supported at the moment, i've opened issue, you can subscribe there for updates about when this gets implemented


Log in to reply
 

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