Add a row after header and before tbody

Add a row after header and before tbody

bin2003bin2003 Posts: 2Questions: 0Answers: 0

Hi,
I want to add a row after header and before tbody (see picture, blue text)
Please help me how can to do.

Thanks!

Replies

  • colincolin Posts: 15,117Questions: 1Answers: 2,583

    You can use row.add() to add a row, and then use the Absolute plugin to ensure it remains on top.

    Colin

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin

    Our you can have two rows in your thead, which is the approach I’d take if I were implementing it myself.

    Or you could use the row group extension, which might suit your needs.

    Allan

  • bin2003bin2003 Posts: 2Questions: 0Answers: 0
    edited August 2020

    Thank you,
    But rows add by row.add are in body, it is sum in footer.
    In attacth picture, first row (blue text) is opening balance, and second row blue is ending balance. Both is not depending on page total or all pages total
    Thank in advance

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin

    You’d need to use another row in the thead as I suggested.

    Allan

This discussion has been closed.