thank you it helped a lot.
I want to point out where that If the value you are calling is NULL it won't work, like:
https://playground.jsreport.net/w/anon/HZk9aQCM
{
"items": [{
"item":1
},
{
"item": null
},
{
"item":3
}]
}
thank you it helped a lot.
I want to point out where that If the value you are calling is NULL it won't work, like:
https://playground.jsreport.net/w/anon/HZk9aQCM
{
"items": [{
"item":1
},
{
"item": null
},
{
"item":3
}]
}
Hello, I'm having trouble changing the HEADER dynamically, for each object I have information that needs to be displayed in the header, here's an example, thanks in advance.
You can use the pdl utils in the: menu on lower left side => pdf utils => configure => add HEAD/FOOTER.
I'm not sure how to set height in %. Also you need to set margin top and bottom in the main document, otherwise your main content will appear behind the header/footer.
If you are using a chrome-pdf recipe you can set the margin, in the section chrome, in the menu on lower left side.
Check this exemple.
https://playground.jsreport.net/w/admin/Wy6stA8t
I fix the problem today, it was a lack of internal communication, some one change the API and send me a old version.
Thanks for the help.
I'm start recent to use javascript and to Jsreport .
I'm pass a URL in an API, when I run the tamplate the image don't appear, I know that the url is correct, I run in the playground using a JSON and there it works.
I think that I may need a helper but dont know the proces or an async function.
Sorry if I spell something wrong I'm a new student.