Want to nest the fields of "docxTable" into a child table
-
Hello,
I have a problem with the fields of
docxTable
.
I'd like to arrange the fields within a column into a child table, then for a long text it can arrange the data into a pretty form.
See the screenshot above, I want to set the following fields:
brand
,model
,warranty
,tag
as the elements of theitems
.
If I set this
const items = [ { desc: 'Description', qty: '12', brand: 'New Brand', model: '123', ... } ]
I can see thedesc
, andqty
in the report, butbrand
,model
,warranty
, andtag
will be always BLANK
Can you advise on how to do this?Thank you so much for your helps,
Thai
-
hi! can you please share the docx template and the data for this example? i think this should work and likely requires minor changes but i would love not to have to re-create the example if you already have it.