Any way to add page number to Header or Footer in Chrome-Pdf and Jsrender ?
-
I've tried using {#pageNum} and it is not working
-
This syntax should work across all the engines. Please replicate your issue in the playground
https://playground.jsreport.net/
-
When i changed the header template engine to handlebar it is working but when i changed to jsrender, it is not working. Please find code in the below playground
https://playground.jsreport.net/w/mvcskumar/WJJIeRQ1
-
ok, so you use pdf utils.
The correct syntax in jsrender, for replacing variable, is
{{:foo}}
. So here it is fixed.
https://playground.jsreport.net/w/anon/HUss9PiC
-
Thank you