- I'm making the header and body in the same template without dividing it, because when I divided the header and the body content went to the second page and stayed on top of the header, so I decided to make both in the same template to avoid this, but I need to repeat the header in second page, is that possible?
Posts made by arthuriques
-
I need to repeat the header em second page
-
jsrender - how to use tailwind
Hello, I'm trying to make a PDF using jsrender and I can't use the tailwind style, I was using the handelbars engine and I'm trying to put it in jsrender, I can't use the functions I made and the tailwind style, could you help me?
exemple : https://playground.jsreport.net/w/codebyarths/mzkDauNf
-
Global Data
I want to have a global file that I can manipulate texts like the title of a PDF header, so that I don't have to change them one by one. I don't know if it's possible or if it's a script. Can you help?
I made an example : https://playground.jsreport.net/w/codebyarths/NrlgzvaK
-
RE: Problem rendering html styling
Should the fonts be installed in the official jsreport image or do I need to create a new image from this playground worker?
I installed the fonts in the official jsreport image and it had no effect.
Do you have any suggestions on something I did wrong? -
manipulate font size
Is it possible to make a function that manipulates font-size from characters ?
for example: font-size: 12px {"hello, how are you? My name is Arthur"}
from 33 characters it would decrease the font-size to 10px -
How do I check the div?
when ds_convenio = "Bradesco", the div should not appear
DEMO: https://playground.jsreport.net/w/codebyarths/E1khq6gXI tried to put if or includes but it didn't work
-
Problem rendering html styling
I have html that I receive as a property, and when I pass it to jsreport the style does not work as expected
on the playground it works correctly: https://playground.jsreport.net/w/codebyarths/6m0JWZZW
but on my internal server it is broken, even when applying the same things, maybe it's the server configuration?
Demonstration:
and for it to return like this:
-
How to limit the array number to 3 and make it continue to the next page?
I have an array that has about 10 items, and I need to limit it to 3 so as not to break my pdf, how do I limit it and move to the next page?!