Page.Break()
Hi.
I try create report from code C#.
And I get problem when I try print table with rows.
How to break page if number of table rows are bigger then page size.
I would like tu continue table on the next page.
This discussion has been closed.
Comments
Hello!
Use dynamic TableObject construction via ManualBuild (subscribe to table.ManualBuild, print the header using table.PrintRow(0); table.PrintColumns(); and each row
of data using PrintRow(...) + FixedRows = 1). The engine will automatically split the table into pages and repeat the header.
Alternatively, move the data rows of the table into a DataBand (instead of a single large static TableObject), and use dataBand.StartNewPage = true or report.Engine.StartNewPage() to force a page break.