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.
    0_1746611573000_11.png

    See the screenshot above, I want to set the following fields: brand, model, warranty, tag as the elements of the items.
    If I set this
    const items = [ { desc: 'Description', qty: '12', brand: 'New Brand', model: '123', ... } ]
    I can see the desc, and qty in the report, but brand, model, warranty, and tag will be always BLANK
    Can you advise on how to do this?

    Thank you so much for your helps,
    Thai


  • administrators

    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.


Log in to reply
 

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