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: 9,532Questions: 0Answers: 1,577

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

    Colin

  • allanallan Posts: 52,498Questions: 1Answers: 8,012 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 4

    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: 52,498Questions: 1Answers: 8,012 Site admin

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

    Allan

Sign In or Register to comment.