• prashant sikarwar
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi,
Please consider the following scenario and help me with a probable solution:
I am rendering a VF page into a pdf. At a pre-defined location on the page, there is a <table> (using apex:repeat) with specific dimensions. Also, there are other details which are exposed, both, above and below the table.
Now, let us suppose there is a column, say 'description' in the table. If the data in that column exceeds the height of the table, the remaining data should be printed on the next page, along with the rest of the records, at the specified table location, with the same details above and below the table.
I believe Pagination can be used to restrict the number of records using CSS "page-break-after:always" and some code updates in the controller. But in this scenario, I want to restrict the data according to thedimension of the table.

sample image
Any assistance to achieve this would be greatly appreciated. Thanks!!