function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ranendu banerjeeranendu banerjee 

Custom print

hi
i have grid in a custom vf page with pagination. i need to print all data of all pages on button click in page. how could it be done ?
Tavant TechnologiesTavant Technologies
Can you please provide the total number of records of that maximum it contains.?
ranendu banerjeeranendu banerjee
10,000 records
 
Tavant TechnologiesTavant Technologies
Keep the object of the Grid as the wrapper and create list of wrappers and create another VF Page with render as PDF and through apex:repeat with the list.
ranendu banerjeeranendu banerjee
problem is, when user clicks on print button, pdf page opens with print dialog box. Closing the print dialog box, rendered page stays in the background. i need to overcome this.