TMSFMXGrid - how to forced PageBreak

I have long TMSFMXGrid and I want force PageBreak after some certain row during printing.
Is there way how to do it?

Thank You.

This is not possible when using the direct printing. This is implemented when exporting to PDF however, so you could export to a PDF and then print the PDF instead. The TTMSFMXGridPDFIO component is capable of doing this.

Thank You, Pieter.
I've got it: TTMSFMXGridPDFIO.RowIsPageBreak(Sender: TObject; ARow: Integer; var IsPageBreak: Boolean);

1 Like