1

Is there any way of limiting the displayed repeat values in one page? Ex: Display first two values in first page, next two values in the next page etc ?

I tried to find a way of doing this but I could not find anything helpful.

8
  • 1
    Have you tried some of the CSS techniques such as page-break-after:always as described in the answers to pageblocktable rows spanning over page breaks when rendered as pdf? – Keith C Oct 31 '14 at 15:31
  • Yes but it does not work :( – Tinkerbell Oct 31 '14 at 15:33
  • It doesn't have a proper answer. – Tinkerbell Oct 31 '14 at 16:05
  • 1
    @Butterfly - Just because it does not yet have an answer does not mean you should create a new question asking the exact same thing..... – Eric Oct 31 '14 at 23:50
  • 1
    Why css like {page-break-inside: avoid;} or {page-break-after:always } are not working . It should work. please check on that. – amidstCloud Nov 1 '14 at 0:41
3

What you want to do requires a creating a controller that prepares pages for pagination based on the number of lines that are generated for each page (before sending them to the page for output) as described in Creating Professional PDF Documents with CSS.

Not the answer you're looking for? Browse other questions tagged or ask your own question.