Hi, how are you?
I use the jsreport with the following code
console.log(data)
let v_json = data
let v_data = {
template: {
"shortid": "xxxxxxx"
},
data: v_json,
options: {
preview: true,
reportName: "test" ****Here I give it a name when the pdf is downloaded
}
the "reportName" is for when it downloads, the question is how do I give it a name in the preview?
As in the picture I show
Cristopher Villarreal
@Cristopher Villarreal
0
Reputation
4
Posts
399
Profile views
0
Followers
0
Following
Posts made by Cristopher Villarreal
-
RE: Hello everyone, I hope you are well, how do I change the name of the preview of pdf? When downloading, I change the name using reportName but the preview gives me the name of the data that I am consulting.
-
How to set the orientation of the PDF page to Landscape in jsreport?
Hello everyone, when generating the pdf I need the orientation to be horizontal and in all the examples it is vertical, is there any way to configure it so that it is horizontal by default?