Hi!
mshak wrote:
Please tell me how to add a row with subtotals on every page, because MigraDoc does not know which page it is (That right?).
MigraDoc was designed to create documents that can be rendered in various output formats. MigraDoc has sections and page breaks, but pages do not exist for MigraDoc.
There is no easy way to get what you want.
What I would try: I'd increase the bottom margin to make space for the summary, render the document with the tables to let the renderer make the page breaks.
Then I'd create a new document with a new table for each page, adding the rows, the summary row, and a page break.
You can use the Tag property to identify your data. You could add the row number as Tag to the first paragraph in the first column of each row.
You can call the GetDocumentObjectsFromPage method supplied by the renderer to find which rows are on which page.