• SFDCChennai
  • 0 Points
  • Member since 2010

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 2
How to get the HTML table header in each page in PDF? I've tried with thead {display:table-header-group; } into CSS which is not supporting in HTMLTOPDF.. Please help me out.

Hi guys,


im new to SF development and need some help from you experts.


Here is the scenario: I want to add a custom button to a standard object’s page (like account) that invoke a javascript function when its pressed. What I have to do is to show a pop-up dialog when user clicks that button.

I don’t know how to add such a custom button to standard objects.


Probably one of the solutions below should work:


1) create a duplicate version of standard object’s pages and add the button to it’s source code. However, I don’t know if for e.g Account page’s apex source is available.


2) create another page and use a specific tag that includes some/all parts of the standard object page. (e.g. <apex:includeParent>) . I don’t know if there is such a tag.


3) add custom buttons with UI functionalities (javascript friendly) to standard objects. 


I tried to find another way around to overcome this issue but I couldn’t find any. Can you guys help me with your ideas or give me a link to an article that can help?


  • October 31, 2010
  • Like
  • 0
Hi, :smileywink:

I'm trying to generate a PDF printed table from many data records.
Records are over a page, so I'd like to put a table header on every page.

I tried these two examples, but header was put on the only first page when data increased.


If you have some nice idea, please let me know.


  • October 16, 2008
  • Like
  • 0