Anchor links between templates
-
I have a main template to which I attached header-footer. I want to have a link to one of sections of main template in footer. Namely, table of contents, so users would be able to get back to it from every page. However, if I follow normal flow:
- assign id "table-of-contents" to the container for "Table of Contents"
- add <a href="#table-of-contents">Link to ToC</a> into footer
it's not working when you click on link from footer.
Could you, please, let me know whether:
- it's possible to have a link to element from main template from header-footer
- if yes, how it can be achieved
-
The links across merged/appended pdfs needs to be declared explicitly using
pdfDest
helperThe documentation
https://jsreport.net/learn/pdf-utils#pdfdestThe example
https://playground.jsreport.net/w/anon/tMDZz88d
-
Thank you!