yarg icon indicating copy to clipboard operation
yarg copied to clipboard

Subtable in table with docx template

Open velykov opened this issue 4 years ago • 0 comments

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.

velykov avatar Feb 17 '21 10:02 velykov