Our pure JavaScript Scheduler component
Hello,
i'm trying to do the pdf export, but i'm getting a pdf without css applyed.
After some researches on forum i found that the problem was about css href in the html i was sending to server. So i tried to use the 'translateURLsToAbsolute' property to have a correct href to the resources where css file are located. By the way, the new html that is sended to the server has the css link composed by:
translateURLsToAbsolute + current css link. I was aspecting that my relative css href would be replaced by value present in translateURLsToAbsolute, but it hasn't happened.
Can you explain me exactly how does it works?
Thanks.
-
Attachments
-
- catturaHTMLBryntum.PNG (10.85 KiB) Viewed 655 times
-
- CatturaBryntum.PNG (4.51 KiB) Viewed 655 times
Hello.
I see on odd path in your markup https://localhost:8080/resources//C:/users/...
which suggests that you tried to run export on the application running via file:
protocol, e.g. file:///C:/Users/...
. Is that the case?
Maxim Gorkovsky wrote: ↑Mon Nov 23, 2020 7:23 pm
Hello.
I see on odd path in your markup https://localhost:8080/resources//C:/users/...
which suggests that you tried to run export on the application running via file:
protocol, e.g. file:///C:/Users/...
. Is that the case?
Yes it's the case, i'm developing the app locally but obw it will be on a server, where probabily will be installed also the export server, once it will go live.
You need to setup webserver for local development already, export feature cannot replace file links.