Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subtable in table with docx template #139

Open
velykov opened this issue Feb 17, 2021 · 0 comments
Open

Subtable in table with docx template #139

velykov opened this issue Feb 17, 2021 · 0 comments
Assignees

Comments

@velykov
Copy link

velykov commented Feb 17, 2021

Hi, I am trying to generate a document with docx template and in my case i need to show a table with static content in first column with data from Root band, but dynamic data in each other columns from ListBand. The structure is like a:

##band=ListBand
Header 1          | Header 2
Static ${Root.v1} | ${v2}

Environment

  • YARG version: 2.0.12
  • Client type: Web
  • Browser: Chrome/Postman
  • Database: JSON data, no database
  • Operating system: Windows, Linux

Description of the bug or enhancement

  • Minimal reproducible example
    Data map like this one: ```
    {
    "Root": { "v1": "some root value"},
    "ListBand": ["value 1", "value 2"]
    }
  • Expected behavior
    I expect that in table I will see a static content "some root value" in first column, but in second "value 1" and "value 2" in second row.
  • Actual behavior
    Table is not filling, I see a placeholders.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants